summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-08-04 21:43:22 +0930
committerAlan Modra <amodra@gmail.com>2022-08-05 20:48:29 +0930
commitdfbc689c699b3a15f11e8eb09cb05629f60b36b3 (patch)
tree7404b8deef08685538738a7d1406e9fc01819e61 /bfd/elf.c
parent188bc85476e6ade99bd209ecf430601d56278e64 (diff)
Sanity check loc_offsets index
Fixes a segfault found by the fuzzers. * dwarf.c (fetch_indexed_value): Return -1 on error. (read_and_display_attr_value): Don't display string when fetch_indexed_value returns an error. Sanity check loc_offsets index.
Diffstat (limited to 'bfd/elf.c')
0 files changed, 0 insertions, 0 deletions