[PATCH] Fix _dl_signal_error segfault

Ulrich Drepper drepper@redhat.com
Fri Dec 8 16:02:00 GMT 2000


Jakub Jelinek <jakub@redhat.com> writes:

> The first _dl_signal_error succeeds just fine and _dl_catch_error in
> _dl_open returns errstring = "cannot open shared object file\0libfoo.so"
> where objname == errstring + 30
> but then errstring is freed before calling second _dl_signal_error, although
> errstring was copied using strdupa, objname was not.

OK, I've applied the patch.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list