bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/17531] readelf -a crashes on fuzzed samples


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/17531] readelf -a crashes on fuzzed samples
Date: Thu, 13 Nov 2014 10:47:00 +0000

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

--- Comment #29 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  3102e897eeda28961a32826095befef5c4a74097 (commit)
      from  a59add0c2ed21c03efc8b39e333564d7713a7ccc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

commit 3102e897eeda28961a32826095befef5c4a74097
Author: Nick Clifton <address@hidden>
Date:   Thu Nov 13 10:45:50 2014 +0000

    More fixes for readelf problems reading corrupt files.

        PR binutils/17531
        * readelf.c (process_version_sections): If the read of the version
        def information fails, make sure that the external verdef data is
        not used.
        (get_dynamic_data): Do not attempt to allocate memory for more
        dynamic data than there is in the file.  If the read fails, free
        the allocated buffer.
        (process_symbol_table): Do not print dynamic information if we
        were unable to read the dynamic symbol table.
        (print_gnu_note): Do not print the note if the descsz is too
        small.

-----------------------------------------------------------------------

Summary of changes:
 binutils/ChangeLog |   14 ++++++++++++++
 binutils/readelf.c |   30 ++++++++++++++++++++++++++----
 2 files changed, 40 insertions(+), 4 deletions(-)

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