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

Reply via email to