bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27836] Illegal memory accessed


From: shaohua.li at inf dot ethz.ch
Subject: [Bug binutils/27836] Illegal memory accessed
Date: Mon, 10 May 2021 08:59:38 +0000

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

--- Comment #6 from Shaohua Li <shaohua.li at inf dot ethz.ch> ---
In dwarf.c:8818 (cie_scan = look_for;), `look_for` now is actually a negative
value (it's a pointer, so this's an integer overflow), so that `cie_scan` would
be assigned an invalid address/value. There're a few follow-up uses of
`cie_scan`, which are potentially dangerous. Nevertheless, a direct impact is
the final outputs for two compiled binaries are different, which probably
should be avoided as a program's semantics better be consistent across
compilers.

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