bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17453] Two issues found by AddressSanitizer


From: markus at trippelsdorf dot de
Subject: [Bug ld/17453] Two issues found by AddressSanitizer
Date: Fri, 03 Oct 2014 13:27:37 +0000

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

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Please disregard comment2.

Here's a list of issues found with  -fsanitize=undefined: 

libbfd.c:739:10: runtime error: signed integer overflow: 9223372036854775804 -
-9223372036854775808 cannot be represented in type 'long'
read.c:1707:24: runtime error: left shift of 2 by 63 places cannot be
represented in type 'offsetT' (aka 'long')
write.c:2312:17: runtime error: left shift of negative value -1
config/tc-i386.c:1978:27: runtime error: left shift of negative value -1
config/tc-i386.c:1979:22: runtime error: left shift of negative value -1
config/tc-i386.c:1979:53: runtime error: left shift of negative value -1
cp-demangle.c:4059:47: runtime error: variable length array bound evaluates to
non-positive value 0
cp-demangle.c:4060:49: runtime error: variable length array bound evaluates to
non-positive value 0
dwarf.c:262:19: runtime error: left shift of negative value -1
dwarf.c:2669:23: runtime error: left shift of 251 by 24 places cannot be
represented in type 'int'
elflink.c:78:12: runtime error: member access within null pointer of type
'struct elf_link_hash_entry'
expr.c:1024:31: runtime error: negation of -9223372036854775808 cannot be
represented in type 'offsetT' (aka 'long'); cast to an unsigned type to negate
this value to itself

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