about summary refs log tree commit diff
path: root/string/tst-strsignal.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-11-24 12:34:39 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-11-25 15:25:13 +0000
commit8ebf571196dd499c61983dbf53c94c68ebd458cc (patch)
tree8a04b7e9d0155107f628f5a2f6a708d8fde87610 /string/tst-strsignal.c
parentf6788964bf6412da6fcdd3be4f67eb0417e558a6 (diff)
downloadglibc-8ebf571196dd499c61983dbf53c94c68ebd458cc.tar.gz
glibc-8ebf571196dd499c61983dbf53c94c68ebd458cc.tar.xz
glibc-8ebf571196dd499c61983dbf53c94c68ebd458cc.zip
elf: Fix failure handling in _dl_map_object_from_fd
There are many failure paths that call lose to do local cleanups
in _dl_map_object_from_fd, but it did not clean everything.

Handle l_phdr, l_libname and mapped segments in the common failure
handling code.

There are various bits that may not be cleaned properly on failure
(e.g. executable stack, tlsid, incomplete dl_map_segments).
Diffstat (limited to 'string/tst-strsignal.c')
0 files changed, 0 insertions, 0 deletions