i386/118285: [i386] Segmentation fault in reloc_non_plt.

remko at FreeBSD.org remko at FreeBSD.org
Wed Jul 14 06:47:40 UTC 2010

Synopsis: [i386] Segmentation fault in reloc_non_plt.

Responsible-Changed-From-To: freebsd-i386->jhb
Responsible-Changed-By: remko
Responsible-Changed-When: Wed Jul 14 06:45:27 UTC 2010
Hello John, would you like to have a look at this please?

The submitter mentionst hat the following line causes a segfault when
defobj is NULL.

*where = (Elf_Addr) (defobj->relocbase + def->st_value);

Could we add something liket the following to see whether we hit a NULL
and stop processing the bits and get back to the previous loop?

if(defobj->relocbase == NULL)


More information about the freebsd-i386 mailing list