Fix heap-buffer overflow bugs caused when dumping debug information from a corrupt...
authorNick Clifton <nickc@redhat.com>
Fri, 28 Apr 2017 09:28:04 +0000 (10:28 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 28 Apr 2017 09:28:04 +0000 (10:28 +0100)
commitd949ff5607b9f595e0eed2ff15fbe5eb84eb3a34
treee95dccc20b4a2626f84ab0fe88cb71030c323a6a
parent339053c29abac25e5f86a1ccccd4e8e3b2d362df
Fix heap-buffer overflow bugs caused when dumping debug information from a corrupt binary.

PR binutils/21438
* dwarf.c (process_extended_line_op): Do not assume that the
string extracted from the section is NUL terminated.
(fetch_indirect_string): If the string retrieved from the section
is not NUL terminated, return an error message.
(fetch_indirect_line_string): Likewise.
(fetch_indexed_string): Likewise.
binutils/ChangeLog
binutils/dwarf.c
This page took 0.024381 seconds and 4 git commands to generate.