[PATCH] elf: Initialize libc_map to NULL on namespace creation

Florian Weimer fweimer@redhat.com
Fri Aug 26 12:49:36 GMT 2022


* Florian Weimer via Libc-alpha:

> It seems that a stale libc_map value will be used (and not
> overwritten) by a dlmopen after a dlclose that has deallocated
> the namespace.  This may not be visible easily because the libc
> link map can be allocated at the same address.
>
> Fixes commit ec935dea6332cb22f9881cd1162bad156173f4b0 ("elf:
> Implement __libc_early_init").

The new version is here:

  [PATCH] elf: Call __libc_early_init for reused namespaces (bug 29528)
  <https://sourceware.org/pipermail/libc-alpha/2022-August/141696.html>

Thanks,
Florian



More information about the Libc-alpha mailing list