gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static analyser results for -base (277 potential bugs)


From: David Chisnall
Subject: Re: Static analyser results for -base (277 potential bugs)
Date: Thu, 9 Sep 2010 18:38:16 +0100

On 9 Sep 2010, at 18:34, David Chisnall wrote:

> Please look at them carefully - some looked like spurious errors to me, until 
> I read the code three times (the two bad release errors in NSString, for 
> example - the dataWith*: messages should be initWith*:)


P.S. Another good example of this is the use-after-free methods.  Remember than 
-init and friends are NOT guaranteed to return self (and frequently don't), so 
failing to assign the result of these is a bug.

David

-- Sent from my Apple II




reply via email to

[Prev in Thread] Current Thread [Next in Thread]