bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25018] readelf crash on 32bits (at least i386 and armhf)


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/25018] readelf crash on 32bits (at least i386 and armhf)
Date: Wed, 25 Sep 2019 02:19:06 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_33-branch branch has been updated by Alan Modra
<address@hidden>:

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

commit a11b3493ca2d5aabdc218197b92026098d7e2f57
Author: Alan Modra <address@hidden>
Date:   Mon Sep 23 08:53:07 2019 +0930

    PR25018, readelf crash on 32bits

    Pointer comparisons after adding an offset just don't work to catch
    overflow when the offset is a larger type than the pointer.

        PR 25018
        * dwarf.c (get_type_signedness): Delete ineffective pointer
        comparison check.  Properly range check uvalue offset on
        recursive call.
        (read_and_display_attr_value): Range check uvalue offset before
        calling get_type_signedness.

    (cherry picked from commit b3fe587ed2c78d46132bd33e14f42449d410354b)

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