Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94148 invoked from network); 2 Feb 2011 23:48:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 23:48:53 -0000 Received: (qmail 7671 invoked by uid 500); 2 Feb 2011 23:48:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 7565 invoked by uid 500); 2 Feb 2011 23:48:52 -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 7548 invoked by uid 99); 2 Feb 2011 23:48:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 23:48:52 +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; Wed, 02 Feb 2011 23:48:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EAFCD18A5CB for ; Wed, 2 Feb 2011 23:48:28 +0000 (UTC) Date: Wed, 2 Feb 2011 23:48:28 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <1637690367.6368.1296690508943.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Reopened: (DERBY-4472) [patch] non short circuit op, could cause eof problems 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-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden reopened DERBY-4472: ----------------------------------- Reopen for backport > [patch] non short circuit op, could cause eof problems > ------------------------------------------------------ > > Key: DERBY-4472 > URL: https://issues.apache.org/jira/browse/DERBY-4472 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.5.3.0 > Reporter: Dave Brosius > Priority: Trivial > Fix For: 10.6.1.0 > > Attachments: sc.diff > > > (from patch) > int offset = 0; > - while( offset < dataDirectory.length() & Character.isSpaceChar( dataDirectory.charAt( offset))) > + while( offset < dataDirectory.length() && Character.isSpaceChar( dataDirectory.charAt( offset))) > offset ++; > int leftParen = -1; > int rightParen = -1; -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira