Re: unsafe printing
Re: unsafe printing
- Subject: Re: unsafe printing
- From: "Jan E. Schotsman" <email@hidden>
- Date: Sat, 11 Jul 2015 12:45:12 +0200
On Jul 10, 2015, at 10:07 PM, Steve Mills wrote:
Better yet, don't do that, *because it's potentially insecure*.
It isn't because I make the string myself. All the discussions online
are about using scanf and the like.
Just do this instead:
printf("%s", myString);
Interesting. If the solution is that simple why didn't I find that
anywhere in the internet?
Jan E.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden