• 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: Re[2]: strcpy_s in Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: strcpy_s in Xcode?


  • Subject: Re: Re[2]: strcpy_s in Xcode?
  • From: email@hidden
  • Date: Tue, 02 Oct 2007 19:42:15 +0000

But if you write bullet-proof code that checks all this before making the call, there will be no corruption, no crash, no problem.
 -------------- Original message ----------------------
From: Peter Mulholland <email@hidden>
> Hello ygor,
>
> Tuesday, October 2, 2007, 7:44:17 PM, you wrote:
>
> > And I agree.  Such bells and whistles are unnecessary when you know how big a
> > string you are manipulating.
>
> The point is, there are plenty of overflow bug exploits caused by
> *not* handling strings that are too long. Better for the program to
> crash because some string is NULL, than for it to crash after potentially
> corrupting other data, or even being tricked into running arbitrary code.
>
> --
> Best regards,
>  Peter                            mailto:email@hidden
>

 _______________________________________________
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: Re[2]: strcpy_s in Xcode?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re[2]: strcpy_s in Xcode?
  • Next by Date: Re: Re[2]: strcpy_s in Xcode?
  • Previous by thread: Re: strcpy_s in Xcode?
  • Next by thread: Re: Re[2]: strcpy_s in Xcode?
  • Index(es):
    • Date
    • Thread