diff options
author | Alan Modra <amodra@gmail.com> | 2023-10-10 18:18:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-10-10 22:17:29 +1030 |
commit | f22f27f46c756e753ab6dcc4df820fdd81e26367 (patch) | |
tree | 096b8f037d6cd594a1854eacfb7e8ecbba4a182f /gdb/rust-parse.c | |
parent | 322b071c45d5e5ae14d247e8fa74a4cff58e1a8a (diff) | |
download | binutils-f22f27f46c756e753ab6dcc4df820fdd81e26367.zip binutils-f22f27f46c756e753ab6dcc4df820fdd81e26367.tar.gz binutils-f22f27f46c756e753ab6dcc4df820fdd81e26367.tar.bz2 |
asan: null dereference in read_and_display_attr_value
This fixes multiple places in read_and_display_attr_value dealing with
range and location lists that can segfault when debug_info_p is NULL.
Fuzzed object files can contain arbitrary DW_FORMs.
* dwarf.c (read_and_display_attr_value): Don't dereference NULL
debug_info_p.
Diffstat (limited to 'gdb/rust-parse.c')
0 files changed, 0 insertions, 0 deletions