Re: Crash when calling va_arg()
Re: Crash when calling va_arg()
- Subject: Re: Crash when calling va_arg()
- From: Greg Parker <email@hidden>
- Date: Thu, 05 Jul 2012 10:48:44 -0700
On Jul 4, 2012, at 5:44 PM, Fritz Anderson <email@hidden> wrote:
> On 4 Jul 2012, at 7:40 PM, Charles Srstka wrote:
>> Neither method is much foolproof at all — both of them can easily be undermined by even low-level fools.
>
> … as witness the dozens of times a year I crash because I forgot to terminate an +arrayWithObjects: call, or the like.
The compiler will warn this. Turn on -Wformat if you don't have it already.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden