PATCH: Fix the dlopen failure

Ulrich Drepper drepper@redhat.com
Thu May 30 15:19:00 GMT 2002


On Thu, 2002-05-30 at 14:34, H . J . Lu wrote:
> During dlopen, _dl_relocate_object may fail when something goes wrong.
> But l_opencount isn't updated yet. When that happens, you get memory
> corruption. This patch fixes it.
> 
> BTW, I couldn't find a small testcase.

Too bad.  This means I won't install this until I have time to do
reviews.  Without test cases this can take a while.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020530/3dd5dcfb/attachment.sig>


More information about the Libc-alpha mailing list