[patch] dlfcn/dlerror.c: dlerror(): Check for result->errstring being NULL
Ulrich Drepper
drepper@redhat.com
Tue Jan 2 20:31:00 GMT 2001
Ben Collins <bcollins@debian.org> writes:
> The problem appeared when dlerror() was called before anything was
> dlopen()'d ("int main() {dlerror();}"), which caused a segfault.
Thanks, I've checked in a similar patch together with Andreas' test case.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list