Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 47388 invoked from network); 20 Jun 2007 18:11:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 18:11:48 -0000 Received: (qmail 6024 invoked by uid 500); 20 Jun 2007 18:11:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 5991 invoked by uid 500); 20 Jun 2007 18:11:50 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 5975 invoked by uid 99); 20 Jun 2007 18:11:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 11:11:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 11:11:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E2E871417D for ; Wed, 20 Jun 2007 11:11:26 -0700 (PDT) Message-ID: <7646255.1182363086251.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 11:11:26 -0700 (PDT) From: "Dan Barber (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn ) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Stack overflow bug in JdbmPartition::getEntryUpdn( String dn ) -------------------------------------------------------------- Key: DIRSERVER-978 URL: https://issues.apache.org/jira/browse/DIRSERVER-978 Project: Directory ApacheDS Issue Type: Bug Components: core Environment: n/a Reporter: Dan Barber Priority: Minor The following bug is in JdbmPartition public final String getEntryUpdn( String dn ) throws NamingException { return getEntryupdn( dn ); } This will cause a stack overflow. The reason I didn't make the bug more serious is that Emmanuel let me know this method isn't currently being used. However, should someone attempt to use it the results would not be good. I believe the code should be: public final String getEntryUpdn( String dn ) throws NamingException { return store.getEntryupdn( dn ); } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.