[Bug c/71501] printf %s error on str[5], for example: strncpy(str, "12345", 5)
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Sat Jun 11 17:19:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71501
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
%s requires a zero-terminated string.
More information about the Gcc-bugs
mailing list