https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87191

--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> ---
Regarding ASan, absolutely, but this is a case that can be caught without heavy
memory tracking machinery, and that seems to be documented as being caught by
-fsanitize=object-size but isn't.

In my particular case, the bug I hoped it would have caught but didn't was in
musl libc, and I don't even have San runtime libraries that are musl
compatible, much less the framework to run ASan *under* libc, which is very
complex to get right.

Reply via email to