Date: Wed, 14 Jul 2010 06:47:39 GMT From: remko@FreeBSD.org To: remko@FreeBSD.org, freebsd-i386@FreeBSD.org, jhb@FreeBSD.org Subject: Re: i386/118285: [i386] Segmentation fault in reloc_non_plt. Message-ID: <201007140647.o6E6ldGS050749@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 Responsible-Changed-Why: 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) break; http://www.freebsd.org/cgi/query-pr.cgi?pr=118285
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007140647.o6E6ldGS050749>