diff options
author | Nick Clifton <nickc@redhat.com> | 2022-12-19 11:13:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-12-19 11:13:46 +0000 |
commit | 42f39fdedcf3321cab9964945d3f5bca58967b80 (patch) | |
tree | b132d233254e9007a3253001c41b834759fe7846 /gdb/top.c | |
parent | d14b3ea1c885f3462b9fe26177a47825c3bdbd0a (diff) | |
download | gdb-42f39fdedcf3321cab9964945d3f5bca58967b80.zip gdb-42f39fdedcf3321cab9964945d3f5bca58967b80.tar.gz gdb-42f39fdedcf3321cab9964945d3f5bca58967b80.tar.bz2 |
Fix potential illegal memory accesses when parsing corrupt DWARF data.
PR 29914
* dwarf.c (fetch_indexed_value): Fail if the section is not big
enough to contain a header size field.
(display_debug_addr): Fail if the computed address size is too big
or too small.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions