diff options
author | Nick Clifton <nickc@redhat.com> | 2015-01-08 13:52:42 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-01-08 13:52:42 +0000 |
commit | 848cde35d61874521ad6c88a50f983d5ee7d2307 (patch) | |
tree | c744f90c3d70c0af5464c379b61da68dbd5daad1 /binutils/ChangeLog | |
parent | 2279a12a44ede7a0a6d7375d90d33676fa8771ad (diff) | |
download | gdb-848cde35d61874521ad6c88a50f983d5ee7d2307.zip gdb-848cde35d61874521ad6c88a50f983d5ee7d2307.tar.gz gdb-848cde35d61874521ad6c88a50f983d5ee7d2307.tar.bz2 |
Fix memory access violations triggered by running sysdump on fuzzed binaries.
PR binutils/17512
* sysdump.c (getINT): Fail if reading off the end of the buffer.
Replace call to abort with a call to fatal.
(getCHARS): Prevetn reading off the end of the buffer.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index cfad0f7..d6c3070 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,6 +1,10 @@ 2015-01-08 Nick Clifton <nickc@redhat.com> PR binutils/17512 + * sysdump.c (getINT): Fail if reading off the end of the buffer. + Replace call to abort with a call to fatal. + (getCHARS): Prevetn reading off the end of the buffer. + * nlmconv.c (i386_mangle_relocs): Skip relocs without an associated symbol. (powerpc_mangle_relocs): Skip unrecognised relocs. Check address |