diff options
author | Nick Clifton <nickc@redhat.com> | 2017-04-28 10:28:04 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-04-28 10:28:04 +0100 |
commit | d949ff5607b9f595e0eed2ff15fbe5eb84eb3a34 (patch) | |
tree | e95dccc20b4a2626f84ab0fe88cb71030c323a6a /binutils/ChangeLog | |
parent | 339053c29abac25e5f86a1ccccd4e8e3b2d362df (diff) | |
download | gdb-d949ff5607b9f595e0eed2ff15fbe5eb84eb3a34.zip gdb-d949ff5607b9f595e0eed2ff15fbe5eb84eb3a34.tar.gz gdb-d949ff5607b9f595e0eed2ff15fbe5eb84eb3a34.tar.bz2 |
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.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e072a20..951673b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +2017-04-28 Nick Clifton <nickc@redhat.com> + + 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. + 2017-04-26 Nick Clifton <nickc@redhat.com> PR binutils/21433 |