ubsan: libctf: applying zero offset to null pointer

	* ctf-open.c (init_symtab): Avoid ubsan error.
diff --git a/libctf/ctf-open.c b/libctf/ctf-open.c
index 1c69dc8..9e2c570 100644
--- a/libctf/ctf-open.c
+++ b/libctf/ctf-open.c
@@ -238,7 +238,7 @@
   int skip_func_info = 0;
   int i;
   uint32_t *xp = fp->ctf_sxlate;
-  uint32_t *xend = xp + fp->ctf_nsyms;
+  uint32_t *xend = PTR_ADD (xp, fp->ctf_nsyms);
 
   uint32_t objtoff = hp->cth_objtoff;
   uint32_t funcoff = hp->cth_funcoff;