]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - include/ChangeLog
PR26458 UBSAN: elf32-i386.c:3615 left shift of negative value
authorAlan Modra <amodra@gmail.com>
Wed, 26 Aug 2020 01:30:22 +0000 (11:00 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Aug 2020 13:53:44 +0000 (23:23 +0930)
commit1673aff56987e560ab429beba0d77b85a1c4e064
tree36a188149c96a328c30da6adc270e4be2b2d4590
parent66ad6b4458091b6bb7fbc327308ceabaaba02e8b
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.
include/ChangeLog
include/elf/common.h