diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-11-24 12:34:39 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-12-02 08:48:08 +0000 |
commit | 9ca7fe6033c8da20f0e86ced78a351fd57190eb7 (patch) | |
tree | b9a1b690419a2567427aea12ababbb55e4575963 /sysdeps/unix/sysv/linux/recvmsg.c | |
parent | 42de8ccdaff942f4d34edba7fafd2f4ac7703ce6 (diff) | |
download | glibc-9ca7fe6033c8da20f0e86ced78a351fd57190eb7.tar glibc-9ca7fe6033c8da20f0e86ced78a351fd57190eb7.tar.gz glibc-9ca7fe6033c8da20f0e86ced78a351fd57190eb7.tar.bz2 glibc-9ca7fe6033c8da20f0e86ced78a351fd57190eb7.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 'sysdeps/unix/sysv/linux/recvmsg.c')
0 files changed, 0 insertions, 0 deletions