Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scanelf: fix hashtable overflow checks
Make sure we use the right offset, and make sure the numbers to check don't overflow themselves -- if nbuckets & nchains are 32-bit, and if we multiply them by 4, we can easily overflow before we get a chance to see if they will fit within the memory range. Bug: https://bugs.gentoo.org/890028 Signed-off-by: Mike Frysinger <[email protected]>
- Loading branch information