commit | dfbc689c699b3a15f11e8eb09cb05629f60b36b3 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Thu Aug 04 21:43:22 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Fri Aug 05 20:48:29 2022 +0930 |
tree | 7404b8deef08685538738a7d1406e9fc01819e61 | |
parent | 188bc85476e6ade99bd209ecf430601d56278e64 [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.