diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-11-24 12:34:39 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-11-25 15:25:13 +0000 |
commit | 8ebf571196dd499c61983dbf53c94c68ebd458cc (patch) | |
tree | 8a04b7e9d0155107f628f5a2f6a708d8fde87610 /string/tst-strsignal.c | |
parent | f6788964bf6412da6fcdd3be4f67eb0417e558a6 (diff) | |
download | glibc-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