[Bug c/53041] Changing of array is leading to changing of another variable
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 19 12:11:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list