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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9c0f3d3f2017829ffd908c9893b85094985c3b58

commit 9c0f3d3f2017829ffd908c9893b85094985c3b58
Author: Alan Modra <amo...@gmail.com>
Date:   Thu Oct 5 17:32:18 2017 +1030

    PR22239 - invalid memory read in display_debug_frames

    Pointer comparisons have traps for the unwary.  After adding a large
    unknown value to "start", the test "start < end" depends on where
    "start" is originally in memory.

        PR 22239
        * dwarf.c (read_cie): Don't compare "start" and "end" pointers
        after adding a possibly wild length to "start", compare the length
        to the difference of the pointers instead.  Remove now redundant
        "negative" length test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to