aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-08-26 21:15:43 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-08-30 16:31:03 +0200
commit924e4f3eaa502ce82fccf8537f021a796d158771 (patch)
tree6918e25d51a6554894f760b1d224c82290dabc7f /NEWS
parentb0e7888d1fa2dbd2d9e1645ec8c796abf78880b9 (diff)
downloadglibc-924e4f3eaa502ce82fccf8537f021a796d158771.zip
glibc-924e4f3eaa502ce82fccf8537f021a796d158771.tar.gz
glibc-924e4f3eaa502ce82fccf8537f021a796d158771.tar.bz2
elf: Call __libc_early_init for reused namespaces (bug 29528)
libc_map is never reset to NULL, neither during dlclose nor on a dlopen call which reuses the namespace structure. As a result, if a namespace is reused, its libc is not initialized properly. The most visible result is a crash in the <ctype.h> functions. To prevent similar bugs on namespace reuse from surfacing, unconditionally initialize the chosen namespace to zero using memset. (cherry picked from commit d0e357ff45a75553dee3b17ed7d303bfa544f6fe)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ae30900..6d31e5a 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ The following bugs are resolved with this release:
[29446] _dlopen now ignores dl_caller argument in static mode
[29485] Linux: Terminate subprocess on late failure in tst-pidfd
[29490] alpha: New __brk_call implementation is broken
+ [29528] elf: Call __libc_early_init for reused namespaces
Version 2.36