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: Tue, 11 Nov 2014 15:36:32 +0000

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

--- Comment #78 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  201159ecec7e17600df4153e5d4e7a145f0c7cfe (commit)
      from  015de6884f6fdebaffd4b7d4c7f14fb4d5fc0bb1 (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=201159ecec7e17600df4153e5d4e7a145f0c7cfe

commit 201159ecec7e17600df4153e5d4e7a145f0c7cfe
Author: Nick Clifton <address@hidden>
Date:   Tue Nov 11 15:34:27 2014 +0000

    More fixes for invalid memory accesses, uncovered by valgrind and binary
fuzzers.

        PR binutils/17512
        * coffcode.h (coff_slurp_line_table): Initialise the parts of the
        line number cache that would not be initialised by the copy from
        the new line number table.
        (coff_classify_symbol): Allow for _bfd_coff_internal_syment_name
        returning NULL.
        * coffgen.c (coff_get_normalized_symbols): Get the external
        symbols before allocating space for the internal symbols, in case
        the get fails.
        * elf.c (_bfd_elf_slurp_version_tables): Only allocate a verref
        array if one is needed.  Likewise with the verdef array.
        * peXXigen.c (_bfd_XXi_swap_sym_in): Replace abort()'s with error
        messages.
        (_bfd_XXi_swap_aux_in): Make sure that all fields of the aux
        structure are initialised.
        (pe_print_edata): Avoid reading off the end of the data buffer.

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

Summary of changes:
 bfd/ChangeLog  |   19 +++++++++++++++++++
 bfd/coffcode.h |   31 +++++++++++++++++++------------
 bfd/coffgen.c  |    6 +++---
 bfd/elf.c      |   22 +++++++++++++---------
 bfd/peXXigen.c |   31 ++++++++++++++++++++++++-------
 5 files changed, 78 insertions(+), 31 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]