mirror of https://git.musl-libc.org/git/musl
Browse Source
previously, the path string was being used despite being invalid. with this change, empty path file or error reading the path file is treated as an empty path. this is preferable to falling back to a default path, so that attacks to prevent reading of the path file could not result in loading incorrect and possibly dangerous (outdated or mismatching ABI) libraries from. the code to strip the final newline has also been removed; now that newline is accepted as a delimiter, it's harmless to leave it in place.rs-1.0
1 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue