Re: Re[2]: strcpy_s in Xcode?
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