diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-01 20:27:29 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-01 20:27:29 -0400 |
commit | 5d1c8c995647914c8682498f613672b6b935ca15 (patch) | |
tree | 7466d95e5fde8e52a630b5c875aeff63faca2933 /include/search.h | |
parent | fd427c4eaeed4d1099acc7b6188e41c6cfa5bca5 (diff) | |
download | musl-5d1c8c995647914c8682498f613672b6b935ca15.tar.gz musl-5d1c8c995647914c8682498f613672b6b935ca15.tar.xz musl-5d1c8c995647914c8682498f613672b6b935ca15.zip |
harden dynamic linker library path search
transient errors during the path search should not allow the search to continue and possibly open the wrong file. this patch eliminates most conditions where that could happen, but there is still a possibility that $ORIGIN-based rpath processing will have an allocation failure, causing the search to skip such a path. fixing this is left as a separate task. a small bug where overly-long path components caused an infinite loop rather than being skipped/ignored is also fixed.
Diffstat (limited to 'include/search.h')
0 files changed, 0 insertions, 0 deletions