• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unsafe printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: unsafe printing
      • From: Jens Alfke <email@hidden>
    • Re: unsafe printing
      • From: Ulf Dunkel <email@hidden>
References: 
 >Re: unsafe printing (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Xcode and Git - renaming classes by changing case.
  • Next by Date: Re: unsafe printing
  • Previous by thread: Re: unsafe printing
  • Next by thread: Re: unsafe printing
  • Index(es):
    • Date
    • Thread