aboutsummaryrefslogtreecommitdiff
path: root/ar-lib
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-08-23 10:37:51 +0100
committerNick Clifton <nickc@redhat.com>2019-08-23 10:37:51 +0100
commitafc72f154d6c59367e2f1cdf3ead5035748e2b61 (patch)
treeb311b122a3851be68233ef77c7371be61a0b0574 /ar-lib
parent1aa7f807d239dc32433e5f10840cdc8e80824c64 (diff)
downloadgdb-afc72f154d6c59367e2f1cdf3ead5035748e2b61.zip
gdb-afc72f154d6c59367e2f1cdf3ead5035748e2b61.tar.gz
gdb-afc72f154d6c59367e2f1cdf3ead5035748e2b61.tar.bz2
Prevent a potential illegal memory access in the DWARF parser when processing a corrupt file.
PR 24829 * dwarf.c (check_uvalue): New function. Ensures that a block's size is valid. (read_and_display_attr_value): Use check_value when processsing DW_FORM_block<n> attributes.
Diffstat (limited to 'ar-lib')
0 files changed, 0 insertions, 0 deletions