diff options
author | Ryan Prichard <rprichard@google.com> | 2020-03-26 21:31:43 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2020-03-27 18:46:28 -0700 |
commit | 4fa6d9978a690fd4553279db0619093c22acf968 (patch) | |
tree | 6caf35077b807969e235878931187c73766048b7 /libc/kernel/tools/cpp.py | |
parent | 146620b6443f84d955697cae1c40b9f1b9bd3928 (diff) |
Remove dangling soinfo* from elf_readers_map_
If ElfReader::Read fails, then it is hazardous to leave the invalid
ElfReader in the soinfo*->ElfReader table, because a future soinfo
object could happen to have the same address, then reuse the invalid
ElfReader. I'm not sure whether this can break anything, because the
linker would call ElfReader::Read on the invalid object and overwrite
its previous value.
Test: bionic unit tests
Bug: none
Change-Id: Ibabbf559443441b9caeacc34ca165feaafe5e3a7
Diffstat (limited to 'libc/kernel/tools/cpp.py')
0 files changed, 0 insertions, 0 deletions