summaryrefslogtreecommitdiffstats
path: root/src/stack.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-03-28 00:38:52 +0200
committerMark Wielaard <[email protected]>2017-04-04 00:18:48 +0200
commit61fe61898747f63eb35a81c2261f3590a3dab8fd (patch)
tree59c6397d943bcfb56fee4dd5cc8355afcbdae373 /src/stack.c
parent9a0d9d314a6342b56e3277bd7ad7ecb6e73a7d38 (diff)
elflint: Don't trust sh_entsize when checking hash sections.
Calculate and use the expected entsize instead of relying on the one given by the ELF file section header. Return early if there isn't enough data in the section to check the full hash table. https://sourceware.org/bugzilla/show_bug.cgi?id=21311 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/stack.c')
0 files changed, 0 insertions, 0 deletions