https://sourceware.org/bugzilla/show_bug.cgi?id=33006
Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard <mark at klomp dot org> --- Note that you don't actually need asan to show this. This shows up with _FORTIFY_SOURCE (which is on by default unless you explicitly override CFLAGS) when processing an "illegal" instruction with the max possible length. We provide a slightly too small stack buffer to snprintf. Which would immediate terminate with _FORTIFY_SOURCE on such "illegal" instructions. Without _FORTIFY_SOURCE we just use a few extra bytes on the stack. There are some larger arrays in the stack which aren't used afterwards, without any issue, even though it is technically UB. -- You are receiving this mail because: You are on the CC list for the bug.