Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 52920 invoked from network); 24 Apr 2009 03:51:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Apr 2009 03:51:58 -0000 Received: (qmail 55738 invoked by uid 500); 24 Apr 2009 03:51:58 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 55639 invoked by uid 500); 24 Apr 2009 03:51:58 -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 55631 invoked by uid 99); 24 Apr 2009 03:51:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2009 03:51:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2009 03:51:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B616C234C003 for ; Thu, 23 Apr 2009 20:51:36 -0700 (PDT) Message-ID: <1507530487.1240545096730.JavaMail.jira@brutus> Date: Thu, 23 Apr 2009 20:51:36 -0700 (PDT) From: "Marcos Macedo (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-1352) Infinite Loop when deleting an alias with suffix size > 1 In-Reply-To: <683560888.1240412208375.JavaMail.jira@brutus> 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/DIRSERVER-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcos Macedo updated DIRSERVER-1352: ------------------------------------- Attachment: DIRSERVER-1352.patch > Infinite Loop when deleting an alias with suffix size > 1 > --------------------------------------------------------- > > Key: DIRSERVER-1352 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1352 > Project: Directory ApacheDS > Issue Type: Bug > Components: ldap > Affects Versions: 1.5.4 > Environment: windows xp > Reporter: Marcos Macedo > Priority: Critical > Attachments: DIRSERVER-1352.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > if you have a domain with a suffix size greather than 1, eg. dc=example,dc=com, and try to remove an alias, the operation will hang forever. > I have traced the problem and figure that the method dropAliasIndices from JdbmStore.java have a while loop that drives the operation to hang forever if your suffix is greater than 1. Thats because the getPrefix is used with parameter 1 instead of ancestorDn.size() - 1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.