bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21648] SEGV on unknown address in display_debug_frames


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/21648] SEGV on unknown address in display_debug_frames
Date: Wed, 21 Jun 2017 17:06:56 +0000

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

--- Comment #3 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=7f2c8a1d37af46c46828909b7b748c79aa4b7ff0

commit 7f2c8a1d37af46c46828909b7b748c79aa4b7ff0
Author: Nick Clifton <address@hidden>
Date:   Wed Jun 21 18:05:44 2017 +0100

    Fix address violation when reading corrupt DWARF data.

        PR binutils/21648
        * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB.  Add check for
        reading a value that is too big for the containing variable.
        (SLEB): Rename to SKIP_SLEB and READ_SLEB.  Add similar check.
        Replace uses of LEB and SLEB with appropriate new macro.
        (display_debug_frames): Use an unsigned int for the 'reg'
        variable.  Use a signed long for the 'l' variable.

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