Fix invalid memory access in the BFD library's DWARF parser.
authorNick Clifton <nickc@redhat.com>
Mon, 13 Feb 2017 17:51:27 +0000 (17:51 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 13 Feb 2017 17:51:27 +0000 (17:51 +0000)
commitd11135f55294d75099ad03f81bacbe8ae93a6b28
treed7d10c037eaf7cc5341ad3aff16fd5b1882dbdc2
parent3c6452ae8df5a4707c77aacc514a3a95bf3f24b7
Fix invalid memory access in the BFD library's DWARF parser.

PR binutils/21151
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Check for an invalid
unit length field.
bfd/ChangeLog
bfd/dwarf2.c