diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-04-13 14:18:28 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-04-13 14:19:04 +0200 |
commit | 4a41fc3cd9cea9223ea4f13f9c766a1e149a0ccc (patch) | |
tree | 363f7e95486faf2135e589cfcf2236f540853572 /elf/tst-absolute-zero.c | |
parent | 45a8e05785a617683bbaf83f756cada7a4a425b9 (diff) | |
download | glibc-4a41fc3cd9cea9223ea4f13f9c766a1e149a0ccc.tar.gz glibc-4a41fc3cd9cea9223ea4f13f9c766a1e149a0ccc.tar.xz glibc-4a41fc3cd9cea9223ea4f13f9c766a1e149a0ccc.zip |
elf: Fix memory leak in _dl_find_object_update (bug 29062)
The count can be zero if an object has already been loaded as an indirect dependency (so that l_searchlist.r_list in its link map is still NULL) is promoted to global scope via RTLD_GLOBAL. Fixes commit 5d28a8962dc ("elf: Add _dl_find_object function").
Diffstat (limited to 'elf/tst-absolute-zero.c')
0 files changed, 0 insertions, 0 deletions