aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-12-03 19:50:48 +0000
committerNick Clifton <nickc@redhat.com>2014-12-03 19:50:48 +0000
commitdb6b071a97893d5c7bf34e7fb171a0b710ea736d (patch)
treee6a0854550b4bd07b8aadfab2cb873e7f688ecd0 /gdb/mips-linux-tdep.c
parentCompile pie_copyrelocs_test.cc with -fno-exceptions -fno-asynchronous-unwind-... (diff)
downloadbinutils-gdb-db6b071a97893d5c7bf34e7fb171a0b710ea736d.tar.gz
binutils-gdb-db6b071a97893d5c7bf34e7fb171a0b710ea736d.tar.bz2
binutils-gdb-db6b071a97893d5c7bf34e7fb171a0b710ea736d.zip
Fix memory access problems exposed by fuzzed binaries.
PR binutils/17512 * objdump.c (free_debug_section): Reset the compress_status as well. * compress.c (bfd_get_full_section_contents): Fail if there are no section contents available when the compress_status is COMPRESS_SECTION_DONE. * libbfd.c (bfd_malloc): Refuse to allocate a negative size. (bfd_malloc2): Use bfd_malloc. (bfd_realloc): Refuse to reallocate a negative size. (bfd_realloc2): Use bfd_realloc. (bfd_realloc_or_free): Use bfd_realloc. (bfd_zmalloc): Use bfd_malloc. (bfd_zmalloc): Use bfd_malloc2. * opncls.c (bfd_alloc): Refuse to allocate a negative size.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions