Still another static analyzer (and LLVM parser) mistake
Still another static analyzer (and LLVM parser) mistake
- Subject: Still another static analyzer (and LLVM parser) mistake
- From: Matt Neuburg <email@hidden>
- Date: Mon, 12 Jul 2010 17:16:51 -0700
- Thread-topic: Still another static analyzer (and LLVM parser) mistake
There's no warning if you do this:
NSArray* arr = [NSArray arrayWithObjects: @"howdy"];
GCC's parser is smart enough to know that the missing nil terminator is just
asking for trouble.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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