summaryrefslogtreecommitdiffstats
path: root/libcpu
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-10-14 16:58:51 +0200
committerMark Wielaard <[email protected]>2018-10-20 00:13:09 +0200
commit577511f66842c324c811d1530eea32792f2bee29 (patch)
tree129644b6fe00b5ed708278b49e5aaee36476d9ac /libcpu
parent20f9de9b5f704cec55df92406a50bcbcfca96acd (diff)
findtextrel: Check that sh_entsize isn't zero.
A bogus ELF file could have sh_entsize as zero. Don't divide by zero, but just assume there are no entries in the section. https://sourceware.org/bugzilla/show_bug.cgi?id=23755 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions