bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21990] Integer overflow in process_version_sections (reade


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/21990] Integer overflow in process_version_sections (readelf.c)
Date: Wed, 23 Aug 2017 10:19:53 +0000

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

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

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

commit 452bf675ea772002aa86fb1d28f3474da70ee1de
Author: Alan Modra <address@hidden>
Date:   Wed Aug 23 15:42:12 2017 +0930

    PR21990, Integer overflow in process_version_sections

    This tidies some of the overflow checking when processing verneed
    and verdef sections.

        PR 21990
        * readelf.c (process_version_sections <SHT_GNU_verneed>): Check
        for invalid vn_next field before adding to idx.  Use unsigned
        long for index vars.  Move index checks.
        <SHT_GNU_verdef>: Likewise for vd_next.

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