about summary refs log tree commit diff
path: root/localedata/ber_DZ.UTF-8.in
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 /localedata/ber_DZ.UTF-8.in
parentb0e7888d1fa2dbd2d9e1645ec8c796abf78880b9 (diff)
downloadglibc-924e4f3eaa502ce82fccf8537f021a796d158771.tar.gz
glibc-924e4f3eaa502ce82fccf8537f021a796d158771.tar.xz
glibc-924e4f3eaa502ce82fccf8537f021a796d158771.zip
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 'localedata/ber_DZ.UTF-8.in')
0 files changed, 0 insertions, 0 deletions