Fix potential integer overflow when reading corrupt dwarf1 debug information.
authorNick Clifton <nickc@redhat.com>
Wed, 28 Feb 2018 10:13:54 +0000 (10:13 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 28 Feb 2018 10:13:54 +0000 (10:13 +0000)
commiteef104664efb52965d85a28bc3fc7c77e52e48e2
tree246492648baf81e83d839460480c0c10f05e3898
parent0d329c0a83a23cebb86fbe0ebddd780dc0df2424
Fix potential integer overflow when reading corrupt dwarf1 debug information.

PR 22894
* dwarf1.c (parse_die): Check the length of form blocks before
advancing the data pointer.
bfd/ChangeLog
bfd/dwarf1.c