http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53041
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution| |INVALID --- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-19 12:10:27 UTC --- See: http://pubs.opengroup.org/onlinepubs/007904975/functions/scanf.html s Matches a sequence of bytes that are not white-space characters. The application shall ensure that the corresponding argument is a pointer to the initial byte of an array of char, signed char, or unsigned char large enough to accept the sequence and a terminating null character code, which shall be added automatically.