[Top][All Lists]

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

[Bug binutils/17531] readelf crashes on fuzzed samples

From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/17531] readelf crashes on fuzzed samples
Date: Tue, 03 Feb 2015 20:43:57 +0000


--- Comment #71 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>:


commit 570286220e28e606e199b37a06cd199cadb592ba
Author: Nick Clifton <address@hidden>
Date:   Tue Feb 3 20:42:36 2015 +0000

    Fix memory access violations triggered by running readelf on fuzzed

        PR binutils/17531
        * dwarf.c (process_debug_info): Add range check.
        (display_debug_pubnames_worker): Likewise.
        (display_gdb_index): Fix range check.
        (process_cu_tu_index): Add range check.
        * readelf.c (get_data): Change parameter types from size_t to
        bfd_size_type.  Add checks for loss of accuracy when casting from
        bfd_size_type to size_t.
        (get_dynamic_data): Likewise.
        (process_section_groups): Limit number of error messages.

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]