Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 81803 invoked from network); 8 Feb 2011 05:52:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 05:52:23 -0000 Received: (qmail 85095 invoked by uid 500); 8 Feb 2011 05:52:23 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84807 invoked by uid 500); 8 Feb 2011 05:52:21 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 84797 invoked by uid 99); 8 Feb 2011 05:52:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 05:52:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 05:52:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 75080199621 for ; Tue, 8 Feb 2011 05:51:57 +0000 (UTC) Date: Tue, 8 Feb 2011 05:51:57 +0000 (UTC) From: "Dave Brosius (JIRA)" To: derby-dev@db.apache.org Message-ID: <534309589.1769.1297144317475.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <549595452.1753.1297143477552.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (DERBY-5012) [patch] bad allocation guard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated DERBY-5012: -------------------------------- Attachment: (was: bad_allocation_guard.diff) > [patch] bad allocation guard > ---------------------------- > > Key: DERBY-5012 > URL: https://issues.apache.org/jira/browse/DERBY-5012 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.7.1.1 > Reporter: Dave Brosius > Priority: Trivial > Fix For: 10.8.0.0 > > Attachments: bad_allocation_guard.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > code checks to see if an array is _not_ null, and if so allocates the array. This is backwards. Should check to see if the array is null. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira