This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: [patch] dlfcn/dlerror.c: dlerror(): Check for result->errstring being NULL


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   `------------------------

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