aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-11-03 10:32:09 -0700
committerAlexei Starovoitov <[email protected]>2021-11-03 13:25:37 -0700
commit833907876be55205d0ec153dcd819c014404ee16 (patch)
tree49685afb5fb776e712a385d376c428ef30c910a7 /lib/test_overflow.c
parent8388092b2551f7ae34dad800ce828779f7c948c9 (diff)
libbpf: Detect corrupted ELF symbols section
Prevent divide-by-zero if ELF is corrupted and has zero sh_entsize. Reported by oss-fuzz project. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions