Prevent a potential illegal memory access in the DWARF parser when processing a corru...
authorNick Clifton <nickc@redhat.com>
Fri, 23 Aug 2019 09:37:51 +0000 (10:37 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 23 Aug 2019 09:37:51 +0000 (10:37 +0100)
commitafc72f154d6c59367e2f1cdf3ead5035748e2b61
treeb311b122a3851be68233ef77c7371be61a0b0574
parent1aa7f807d239dc32433e5f10840cdc8e80824c64
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.
binutils/ChangeLog
binutils/dwarf.c
This page took 0.023793 seconds and 4 git commands to generate.