diff options
author | Nick Clifton <nickc@redhat.com> | 2014-11-14 13:39:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-11-14 13:39:29 +0000 |
commit | 470c009be81f3ac0205d4efb1d16fc4216093b69 (patch) | |
tree | bb5f813a1f7addcc8bfa4014b9c87cbaa508cc95 /bfd/ChangeLog | |
parent | 02c1355124de323e32b8b47fa0b19c114549756a (diff) | |
download | gdb-470c009be81f3ac0205d4efb1d16fc4216093b69.zip gdb-470c009be81f3ac0205d4efb1d16fc4216093b69.tar.gz gdb-470c009be81f3ac0205d4efb1d16fc4216093b69.tar.bz2 |
Fix a null pointer dereference when reading the debug link info from a corrupt file.
PR binutils/17597
* opncls.c (bfd_get_debug_link_info): Avoid reading off the end of
the section.
(bfd_get_alt_debug_link_info): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4f28398..015acda 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2014-11-14 Nick Clifton <nickc@redhat.com> + PR binutils/17597 + * opncls.c (bfd_get_debug_link_info): Avoid reading off the end of + the section. + (bfd_get_alt_debug_link_info): Likewise. + +2014-11-14 Nick Clifton <nickc@redhat.com> + PR binutils/17512 * ieee.c (ieee_archive_p) Skip processing if no bytes are read at all. |