[Bug dynamic-link/32412] Initial DTV is reallocated using main realloc in auditing mode
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jul 22 06:36:31 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32412
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.42
--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.42 via:
commit aa3d7bd5299b33bffc118aa618b59bfa66059bcb
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Feb 13 21:56:52 2025 +0100
elf: Keep using minimal malloc after early DTV resize (bug 32412)
If an auditor loads many TLS-using modules during startup, it is
possible to trigger DTV resizing. Previously, the DTV was marked
as allocated by the main malloc afterwards, even if the minimal
malloc was still in use. With this change, _dl_resize_dtv marks
the resized DTV as allocated with the minimal malloc.
The new test reuses TLS-using modules from other auditing tests.
Reviewed-by: DJ Delorie <dj@redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list