• 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
unsafe printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unsafe printing


  • Subject: unsafe printing
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Fri, 10 Jul 2015 21:57:15 +0200

Hello,

How can I get rid of warnings about unsafe use of printf?

char myString[256];

// set myString in some untransparent way

printf( myString ); // warning: format string is not a literal (potentially insecure)

Xcode 6.3

TIA,

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: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Xcode and Git - renaming classes by changing case.
  • Next by Date: Re: unsafe printing
  • Previous by thread: "Modules" and #defines in prefix headers
  • Next by thread: Re: unsafe printing
  • Index(es):
    • Date
    • Thread