mirror of https://git.musl-libc.org/git/musl
Browse Source
map_library was saving pointers to an automatic-storage buffer rather than pointers into the mapping. this should be a fairly simple fix, but the patch here is slightly complicated by two issues: 1. supporting gratuitously obfuscated ELF files where the program headers are not right at the beginning of the file. 2. cleaning up the map_library function so that data isn't clobbered by the time we need it.rs-1.0
1 changed files with 16 additions and 9 deletions
Loading…
Reference in new issue