Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 85477 invoked from network); 26 May 2010 10:45:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 10:45:15 -0000 Received: (qmail 65124 invoked by uid 500); 26 May 2010 10:45:14 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 64843 invoked by uid 500); 26 May 2010 10:45:14 -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 64817 invoked by uid 99); 26 May 2010 10:45:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 10:45:14 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 10:45:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4QAio4x007265 for ; Wed, 26 May 2010 10:44:50 GMT Message-ID: <20583076.57211274870690293.JavaMail.jira@thor> Date: Wed, 26 May 2010 06:44:50 -0400 (EDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (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 ] Emmanuel Lecharny closed DIRSERVER-1352. ---------------------------------------- > 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 > Assignee: Stefan Seelmann > Priority: Critical > Fix For: 1.5.5 > > Attachments: AliasDeleteIT.java, 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.