bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21149] readelf - several invalid read


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/21149] readelf - several invalid read
Date: Mon, 13 Feb 2017 14:54:04 +0000

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

--- 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=ebdf1ebfa551fd4624c3cd05401aa3c01ea2ebbe

commit ebdf1ebfa551fd4624c3cd05401aa3c01ea2ebbe
Author: Nick Clifton <address@hidden>
Date:   Mon Feb 13 14:52:48 2017 +0000

    Fix invalid memory access attempting to read the compression header of a
too-small compressed section.

        PR binutils/21149
        * readelf.c (get_compression_header): Add size parameter.  Check
        size against sizeof compression header before attempting to
        extract the header.
        (process_section_headers): Pass size to get_compression_header.
        (dump_section_as_strings): Likewise.
        (dump_section_as_bytes): Likewise.
        (load_specific_debug_section): 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]