This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH: hppa] Fix segmentation faults in _dl_lookup_address


The attached change fixes a regression in the debug/backtrace-tst test.  It tightens up the checks
for a valid function pointers.  It also uses the proberi instruction to avoid faulting when the address is
not a valid function pointer.  However, it's probably not possible to completely ensure that the address
lookup is correct given an arbitrary address.

Please install if okay.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: dl-fptr.c.d.1.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]