PATCH: Fix the dlopen failure

Ulrich Drepper drepper@redhat.com
Sun Jun 30 01:25: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.

Please don't keep for yourself what this is supposed to fix.  I cannot
apply the patch without knowing this.  Just saying "memory corruption"
isn't enough.  What's the code path?

-- 
---------------.                          ,-.   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/20020630/7d69af61/attachment.sig>


More information about the Libc-alpha mailing list