Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54488 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78831 invoked from network); 9 Aug 2011 07:45:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2011 07:45:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=joey@joeysmith.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=joey@joeysmith.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain joeysmith.com designates 209.90.98.146 as permitted sender) X-PHP-List-Original-Sender: joey@joeysmith.com X-Host-Fingerprint: 209.90.98.146 host-3.pl1071314.fiber.net Received: from [209.90.98.146] ([209.90.98.146:39827] helo=localhost) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/80-09638-0A5E04E4 for ; Tue, 09 Aug 2011 03:45:41 -0400 Received: from joey by localhost with local (Exim 4.74) (envelope-from ) id 1Qqh03-0000bP-SJ for internals@lists.php.net; Tue, 09 Aug 2011 01:45:19 -0600 Date: Tue, 9 Aug 2011 01:45:19 -0600 To: internals@lists.php.net Message-ID: <20110809074519.GD21131@joeysmith.com> References: <4E3E0155.5050702@lerdorf.com> <20110809064549.GC21131@joeysmith.com> <4E40DF99.70601@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E40DF99.70601@lerdorf.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [PHP-DEV] Coverity Scan From: joey@joeysmith.com (Joey Smith) On Tue, Aug 09, 2011 at 12:19:53AM -0700, Rasmus Lerdorf wrote: > On 08/08/2011 11:45 PM, Joey Smith wrote > > A lot of the 'STACK_USE' ones seem to be false positives; it's reporting > > when the stack "exceeds the maximum single use of 1024 bytes" - that 1024 > > is a Coverity-configurable value which defaults to 1024. > > Yup, we can simply mark those as intentional/ignore although it wouldn't > be a bad idea to have a quick look at each one to see if we really need > to chew up 1k of stack on each of those occasions. People using PHP in > embedded systems would appreciate that, I bet. > > -Rasmus Quite a few of the ones I looked at were reporting it due to MAXPATHLEN, which I imagine we probably want to leave untouched - I'll just mark those as intentional/ignore.