[Bug dynamic-link/22723] SIGSEGV from unchecked NULL in DT_INIT_ARRAY during dlopen

joseph at codesourcery dot com sourceware-bugzilla@sourceware.org
Wed Jan 17 21:19:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22723

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The glibc rule is that if a pointer is required to be valid, just 
dereferencing it is appropriate - a segfault is sufficient defence if a 
(by definition buggy) program passes a null pointer there.

https://sourceware.org/glibc/wiki/Style_and_Conventions#Error_Handling

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list