Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use sh_offset instead of sh_addr when checking already replaced libs
When checking for already replaced libs, the check against the size must be done using the section header offset, not the section file address. This was not crashing in many situations because normally sh_address and sh_offset have the same value but these two may differ and using the sh_address value instead can cause library corruption in these situations.
- Loading branch information