bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28694] stabs.c: Out-of-bounds write in stab_xcoff_builtin_


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/28694] stabs.c: Out-of-bounds write in stab_xcoff_builtin_type
Date: Wed, 15 Dec 2021 01:30:27 +0000

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

--- 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 <amodra@sourceware.org>:

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

commit 161e87d12167b1e36193385485c1f6ce92f74f02
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Dec 15 11:48:42 2021 +1030

    PR28694, Out-of-bounds write in stab_xcoff_builtin_type

            PR 28694
            * stabs.c (stab_xcoff_builtin_type): Make typenum unsigned.
            Negate typenum earlier, simplifying bounds checking.  Correct
            off-by-one indexing.  Adjust switch cases.

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