bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21786] Stack-buffer-overflow in {coff,coff64}-rs6000.c


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/21786] Stack-buffer-overflow in {coff,coff64}-rs6000.c
Date: Mon, 04 Sep 2017 15:06:21 +0000

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_29-branch branch has been updated by Nick Clifton
<address@hidden>:

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

commit 7e693dd5cede637daf4456a2a8f207be1044c6e8
Author: Nick Clifton <address@hidden>
Date:   Mon Sep 4 16:04:44 2017 +0100

    Import patch from mainline to fix address violations when parsing corrupt
COFF binaries

        PR 21786
        * coff-rs6000.c (_bfd_strntol): New function.
        (_bfd_strntoll): New function.
        (GET_VALUE_IN_FIELD): New macro.
        (EQ_VALUE_IN_FIELD): new macro.
        (_bfd_xcoff_slurp_armap): Use new macros.
        (_bfd_xcoff_archive_p): Likewise.
        (_bfd_xcoff_read_ar_hdr): Likewise.
        (_bfd_xcoff_openr_next_archived_file): Likewise.
        (_bfd_xcoff_stat_arch_elt): Likewise.
        * coff64-rs6000.c (_bfd_strntol): New function.
        (_bfd_strntoll): New function.
        (GET_VALUE_IN_FIELD): New macro.
        (xcoff64_slurp_armap): Use new macros.

-- 
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]