[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.
- [Bug binutils/27836] New: Illegal memory accessed, shaohua.li at inf dot ethz.ch, 2021/05/09
- [Bug binutils/27836] Illegal memory accessed, shaohua.li at inf dot ethz.ch, 2021/05/09
- [Bug binutils/27836] Illegal memory accessed, shaohua.li at inf dot ethz.ch, 2021/05/09
- [Bug binutils/27836] Illegal memory accessed, amodra at gmail dot com, 2021/05/09
- [Bug binutils/27836] Illegal memory accessed, shaohua.li at inf dot ethz.ch, 2021/05/10
- [Bug binutils/27836] Illegal memory accessed, amodra at gmail dot com, 2021/05/10
- [Bug binutils/27836] Illegal memory accessed,
shaohua.li at inf dot ethz.ch <=
- [Bug binutils/27836] Illegal memory accessed, shaohua.li at inf dot ethz.ch, 2021/05/10
- [Bug binutils/27836] Illegal memory accessed, cvs-commit at gcc dot gnu.org, 2021/05/12
- [Bug binutils/27836] Illegal memory accessed, shaohua.li at inf dot ethz.ch, 2021/05/12