aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-12-19 11:13:46 +0000
committerNick Clifton <nickc@redhat.com>2022-12-19 11:13:46 +0000
commit42f39fdedcf3321cab9964945d3f5bca58967b80 (patch)
treeb132d233254e9007a3253001c41b834759fe7846 /gdb/top.c
parentd14b3ea1c885f3462b9fe26177a47825c3bdbd0a (diff)
downloadgdb-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