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: Fri, 14 Nov 2014 12:31:36 +0000

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

--- Comment #89 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  041830e03cca866f12be18198898139e558ad31e (commit)
      from  646da0594c91719ef591d8736865a1d58fbbfc34 (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=041830e03cca866f12be18198898139e558ad31e

commit 041830e03cca866f12be18198898139e558ad31e
Author: Nick Clifton <address@hidden>
Date:   Fri Nov 14 12:30:00 2014 +0000

    More fixes for invalid memory accesses triggered by corrupt binaries.

        PR binutils/17512
        * dwarf.c (get_encoded_value): Add an 'end' parameter.  Change the
        'data' parameter to a double pointer and return the updated value.
        (decode_location_expression): Update call to get_encoded_value.
        (frame_need_space): Handle the case where one or both of the
        mallocs fails.
        (read_cie): Initialise the cie pointer, even if the read fails.
        (display_debug_frames): Warn if the calculated block_end is before
        the start of the block.  Break the loop if the CIE could not be
        read.  Update call to get_encoded_value.  Warn if the read CFA
        expressions are too big.

        * ieee.c (ieee_archive_p) Skip processing if no bytes are read at
        all.
        (ieee_object_p): Likewise.

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

Summary of changes:
 bfd/ChangeLog      |    7 +++++
 bfd/ieee.c         |    6 +++-
 binutils/ChangeLog |   14 +++++++++++
 binutils/dwarf.c   |   65 +++++++++++++++++++++++++++++++++++++++------------
 4 files changed, 74 insertions(+), 18 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]