bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26458] UBSAN error: bfd/elf32-i386.c:3615:21:


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26458] UBSAN error: bfd/elf32-i386.c:3615:21:
Date: Wed, 26 Aug 2020 13:54:57 +0000

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

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

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

commit 1673aff56987e560ab429beba0d77b85a1c4e064
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Aug 26 11:00:22 2020 +0930

    PR26458 UBSAN: elf32-i386.c:3615 left shift of negative value

    Happens when poking symbol index -2 into r_info.  (The index is
    updated before writing out to file.)

            PR 26458
            * elf/common.h (ELF32_R_INFO): Cast symbol index to unsigned.

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