[Bug sanitizer/68065] Size calculations for VLAs can overflow

danielmicay at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 10 21:22:00 GMT 2015


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

--- Comment #17 from Daniel Micay <danielmicay at gmail dot com> ---
It's well-defined C code though. It shouldn't be possible to for anything to go
wrong here when using -fstack-check, i.e. it should be guaranteed to trigger a
stack overflow which is caught. The size wrapping back around is different.


More information about the Gcc-bugs mailing list