diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-02-25 20:49:48 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-02-25 20:49:48 -0500 |
commit | 4bff6e0175ed195871f4e01cc4c4c33274b8f6e3 (patch) | |
tree | c66f1fa828edf1592d7f73c4200c16ae2996f8b5 /ChangeLog | |
parent | 661b9e2014b3964469198ce7697a1d0d06aa4882 (diff) | |
download | glibc-4bff6e0175ed195871f4e01cc4c4c33274b8f6e3.zip glibc-4bff6e0175ed195871f4e01cc4c4c33274b8f6e3.tar.gz glibc-4bff6e0175ed195871f4e01cc4c4c33274b8f6e3.tar.bz2 |
Fix memory leak in dlopen with RTLD_NOLOAD.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +2011-02-23 Andreas Schwab <schwab@redhat.com> + Ulrich Drepper <drepper@gmail.com> + + [BZ #12509] + * include/link.h (struct link_map): Add l_orig_initfini. + * elf/dl-load.c (_dl_map_object_from_fd): Free realname before + returning unsuccessfully. + * elf/dl-close.c (_dl_close_worker): If this is the last explicit + close of a file loaded at startup, restore the original l_initfini + list. + * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini + list, store the pointer. + * elf/Makefile ($(objpfx)noload-mem): New rule. + (noload-ENV): Define. + (tests): Add $(objpfx)noload-mem. + * elf/noload.c: Include <memcheck.h>. + (main): Call mtrace. Close all opened handles. + 2011-02-17 Andreas Schwab <schwab@redhat.com> [BZ #12454] |