This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
According to Bhushan Attarde on 8/20/2007 12:59 AM:int main ( void )
{ char string[10];
while(1)
{
scanf("%s",&string);
Unrelated to your report, but please fix your bug. Don't go reading unlimited length strings into a fixed-width buffer using scanf.
Anyone have any idea about this?
What platform are you targetting?
- -- Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGyYT684KuGfSFAYARAkazAKDDZnsbHakJtsMriI/y4T5NGJca3gCgorBA cSY2ugTOKRRhOOtwS5LUwlU= =e4r+ -----END PGP SIGNATURE-----
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |