bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24236] size: Heap buffer overflow in _bfd_archive_64_bit_s


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/24236] size: Heap buffer overflow in _bfd_archive_64_bit_slurp_armap
Date: Wed, 20 Feb 2019 01:20:59 +0000

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

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

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

commit 8abac8031ed369a2734b1cdb7df28a39a54b4b49
Author: Alan Modra <address@hidden>
Date:   Wed Feb 20 08:21:24 2019 +1030

    PR24236, Heap buffer overflow in _bfd_archive_64_bit_slurp_armap

        PR 24236
        * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
        sentinel NUL to string buffer nearer to loop where it is used.
        Don't go past sentinel when scanning strings, and don't write
        NUL again.
        * archive.c (do_slurp_coff_armap): Simplify string handling to
        archive64.c style.

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