diff --git a/gcc/asan.c b/gcc/asan.c index 89ecd99b182..d7449ce7d0e 100644 --- a/gcc/asan.c +++ b/gcc/asan.c @@ -105,7 +105,7 @@ along with GCC; see the file COPYING3. If not see int foo () { - char a[23] = {0}; + char a[24] = {0}; int b[2] = {0}; a[5] = 1; @@ -1634,7 +1634,7 @@ asan_redzone_buffer::flush_if_full (void) int foo () { - char a[23] = {0}; + char a[24] = {0}; int b[2] = {0}; a[5] = 1;