[PATCH] Report dlsym, dlvsym lookup errors using dlerror [BZ #19509]

Florian Weimer fweimer@redhat.com
Tue Feb 9 14:31:00 GMT 2016


I'm not sure if this is the right fix.  I traced back the lack of error
reporting to the original addition of the RTLD_NEXT functionality.  I
don't know why it was omitted from it.

I could not find any callers of _dl_lookup_symbol_x which with skip_map
!= NULL and which are not related to RTLD_NEXT, so this change looks
pretty conservative to me.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Report-dlsym-dlvsym-lookup-errors-using-dlerror-BZ-1.patch
Type: text/x-patch
Size: 4686 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160209/52a57c68/attachment.bin>


More information about the Libc-alpha mailing list