[Bug sanitizer/98608] missing sanitizer detection for arrays with invalid length defind using typeof

muecker at gwdg dot de gcc-bugzilla@gcc.gnu.org
Sun Jul 30 10:09:28 GMT 2023


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

--- Comment #2 from Martin Uecker <muecker at gwdg dot de> ---

The problem is actually the missing sanitizer instrumentation of the parameter
type. This is easy to fix, but then I run into the problem that a lot of code
has n == 0 in parameters. Having an option to avoid the instrumentation
(PR98609) might help.


More information about the Gcc-bugs mailing list