This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch] dlfcn/dlerror.c: dlerror(): Check for result->errstring being NULL
- To: Ben Collins <bcollins at debian dot org>
- Subject: Re: [patch] dlfcn/dlerror.c: dlerror(): Check for result->errstring being NULL
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 02 Jan 2001 20:32:01 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010101174551.K876@visi.net>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------