diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-21 18:05:44 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-21 18:05:44 +0100 |
commit | 7f2c8a1d37af46c46828909b7b748c79aa4b7ff0 (patch) | |
tree | 09ade7d4590196f880186beeac8310999778cb8e /binutils/ChangeLog | |
parent | 2c6b98ea6fcc1358639253d4e96c9b55a672fb0c (diff) |
Fix address violation when reading corrupt DWARF data.
PR binutils/21648
* dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB. Add check for
reading a value that is too big for the containing variable.
(SLEB): Rename to SKIP_SLEB and READ_SLEB. Add similar check.
Replace uses of LEB and SLEB with appropriate new macro.
(display_debug_frames): Use an unsigned int for the 'reg'
variable. Use a signed long for the 'l' variable.
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 6997db969c..f5da75d70f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +2017-06-21 Nick Clifton <nickc@redhat.com> + + PR binutils/21648 + * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB. Add check for + reading a value that is too big for the containing variable. + (SLEB): Rename to SKIP_SLEB and READ_SLEB. Add similar check. + Replace uses of LEB and SLEB with appropriate new macro. + (display_debug_frames): Use an unsigned int for the 'reg' + variable. Use a signed long for the 'l' variable. + 2017-06-19 Nick Clifton <nickc@redhat.com> PR binutils/21619 |