bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/17512] segfault in PE parser / _bfd_pei_swap_aouthdr_in
Date: Wed, 03 Dec 2014 19:52:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17512

--- Comment #120 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  db6b071a97893d5c7bf34e7fb171a0b710ea736d (commit)
      from  4759c34e128035e57b06a7b3d7c58f135061c6da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db6b071a97893d5c7bf34e7fb171a0b710ea736d

commit db6b071a97893d5c7bf34e7fb171a0b710ea736d
Author: Nick Clifton <address@hidden>
Date:   Wed Dec 3 19:50:48 2014 +0000

    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.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog      |   15 ++++++
 bfd/compress.c     |    2 +
 bfd/libbfd.c       |  127 +++++++++++----------------------------------------
 bfd/opncls.c       |   14 ++++--
 binutils/ChangeLog |    6 +++
 binutils/objdump.c |    1 +
 6 files changed, 61 insertions(+), 104 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]