bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22506] Segmentation fault in coff_i386_reloc


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/22506] Segmentation fault in coff_i386_reloc
Date: Tue, 28 Nov 2017 13:21:51 +0000

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

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

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

commit b23dc97fe237a1d9e850d7cbeee066183a00630b
Author: Nick Clifton <address@hidden>
Date:   Tue Nov 28 13:20:31 2017 +0000

    Fix a memory access violation when attempting to parse a corrupt COFF
binary with a relocation that points beyond the end of the section to be
relocated.

        PR 22506
        * reloc.c (reloc_offset_in_range): Rename to
        bfd_reloc_offset_in_range and export.
        (bfd_perform_relocation): Rename function invocation.
        (bfd_install_relocation): Likewise.
        (bfd_final_link_relocate): Likewise.
        * bfd-in2.h: Regenerate.
        * coff-arm.c (coff_arm_reloc): Use bfd_reloc_offset_in_range.
        * coff-i386.c (coff_i386_reloc): Likewise.
        * coff-i860.c (coff_i860_reloc): Likewise.
        * coff-m68k.c (mk68kcoff_common_addend_special_fn): Likewise.
        * coff-m88k.c (m88k_special_reloc): Likewise.
        * coff-mips.c (mips_reflo_reloc): Likewise.
        * coff-x86_64.c (coff_amd64_reloc): Likewise.

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