Skip to content
Commit 35ca471c authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

elf: Refactor _dl_update_slotinfo to avoid use after free

map is not valid to access here because it can be freed by a
concurrent dlclose, so don't check the modid.

The map == 0 and map != 0 code paths can be shared (avoiding
the dtv resize in case of map == 0 is just an optimization:
larger dtv than necessary would be fine too).
parent c54c412f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment