diff options
| author | Mark Wielaard <[email protected]> | 2018-10-14 16:58:51 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-10-20 00:13:09 +0200 |
| commit | 577511f66842c324c811d1530eea32792f2bee29 (patch) | |
| tree | 129644b6fe00b5ed708278b49e5aaee36476d9ac /libcpu/bpf_disasm.c | |
| parent | 20f9de9b5f704cec55df92406a50bcbcfca96acd (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/bpf_disasm.c')
0 files changed, 0 insertions, 0 deletions
