[Bug sanitizer/63245] renderMemorySnippet shouldn't show more bytes than the underlying type
samsonov at google dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 15 21:54:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63245
--- Comment #2 from Alexey Samsonov <samsonov at google dot com> ---
This is also reported as http://llvm.org/bugs/show_bug.cgi?id=20721
I've mailed a patch that should at least fix the crashes:
http://reviews.llvm.org/D5253. I agree that UBSan can do better, and actually
adjust the memory range it's going to print if some of it is unaccessible.
More information about the Gcc-bugs
mailing list