[Bug c/53041] Changing of array is leading to changing of another variable
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 19 12:07:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53041
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-19 12:06:13 UTC ---
This is not a proper bug report, please read http://gcc.gnu.org/bugs/
What are you claiming is a bug in GCC?
Your program is dangerous and has undefined behaviour if more than one
character is entered, that's not GCC's fault
http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/dangers-c.html
http://en.wikipedia.org/wiki/Scanf_format_string#Security
More information about the Gcc-bugs
mailing list