bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22794] Unchecked strnlen operation in bfd_get_debug_link_i


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/22794] Unchecked strnlen operation in bfd_get_debug_link_info_1 (./src/bfd/opncls.c)
Date: Tue, 06 Feb 2018 15:49:49 +0000

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

--- 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=64e234d417d5685a4aec0edc618114d9991c031b

commit 64e234d417d5685a4aec0edc618114d9991c031b
Author: Nick Clifton <address@hidden>
Date:   Tue Feb 6 15:48:29 2018 +0000

    Prevent attempts to call strncpy with a zero-length field by chacking the
size of debuglink sections.

        PR 22794
        * opncls.c (bfd_get_debug_link_info_1): Check the size of the
        section before attempting to read it in.
        (bfd_get_alt_debug_link_info): 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]