diff options
author | Nick Clifton <nickc@redhat.com> | 2018-04-24 16:31:27 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-04-24 16:32:12 +0100 |
commit | aa4a8c2a2a67545e90c877162c53cc9de42dc8b4 (patch) | |
tree | 199693d690fc4b0b404fe4ee221eb1cd7676f999 /bfd/ChangeLog | |
parent | 0a8ddac418d3e8e12a1bb51c3b0da90155f83403 (diff) | |
download | gdb-aa4a8c2a2a67545e90c877162c53cc9de42dc8b4.zip gdb-aa4a8c2a2a67545e90c877162c53cc9de42dc8b4.tar.gz gdb-aa4a8c2a2a67545e90c877162c53cc9de42dc8b4.tar.bz2 |
Fix an illegal memory access when copying a PE format file with corrupt debug information.
PR 23110
* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Check for
a negative PE_DEBUG_DATA size before iterating over the debug data.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3c26f8a..32cd893 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2018-04-24 Nick Clifton <nickc@redhat.com> + + PR 23110 + * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Check for + a negative PE_DEBUG_DATA size before iterating over the debug data. + 2018-04-23 Alan Modra <amodra@gmail.com> * elf-linux-core.h: Revert last change. |