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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <ni...@sourceware.org>:

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

commit 29866fa186ee3ebda5242221607dba360b2e541e
Author: Nick Clifton <ni...@redhat.com>
Date:   Wed Jul 19 11:07:43 2017 +0100

    Fix address violation when attempting to read a corrupt field in a COFF
archive header structure.

        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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to