https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117367
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- ASAN says: ==3038484==ERROR: AddressSanitizer: global-buffer-overflow on address 0x5bb17fa7e4a1 at pc 0x5bb17fa794c3 bp 0x7ffdda66b1e0 sp 0x7ffdda66b1d0 READ of size 1 at 0x5bb17fa7e4a1 thread T0 #0 0x5bb17fa794c2 in v /tmp/p.c:19 #1 0x5bb17fa794c2 in h /tmp/p.c:25 #2 0x5bb17fa794c2 in r /tmp/p.c:35 #3 0x5bb17fa784aa in main /tmp/p.c:48 #4 0x7d58a6203746 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #5 0x7d58a62037f6 in __libc_start_main_impl ../csu/libc-start.c:360 #6 0x5bb17fa78510 in _start (/tmp/p+0x510) 0x5bb17fa7e4a1 is located 0 bytes after global variable 'c' defined in '/tmp/p.c:5:6' (0x5bb17fa7e4a0) of size 1 'c' is ascii string '' SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/p.c:19 in v Shadow bytes around the buggy address: 0x5bb17fa7e200: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x5bb17fa7e280: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x5bb17fa7e300: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 0x5bb17fa7e380: 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 0x5bb17fa7e400: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 =>0x5bb17fa7e480: f9 f9 f9 f9[01]f9 f9 f9 f9 f9 f9 f9 00 00 00 00 0x5bb17fa7e500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x5bb17fa7e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x5bb17fa7e600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x5bb17fa7e680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x5bb17fa7e700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00