Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 58085 invoked from network); 10 Jul 2008 10:12:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 10:12:54 -0000 Received: (qmail 21969 invoked by uid 500); 10 Jul 2008 10:12:55 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 21759 invoked by uid 500); 10 Jul 2008 10:12:54 -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 21748 invoked by uid 99); 10 Jul 2008 10:12:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 03:12:53 -0700 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; Thu, 10 Jul 2008 10:12:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E13F5234C163 for ; Thu, 10 Jul 2008 03:12:31 -0700 (PDT) Message-ID: <2060149129.1215684751919.JavaMail.jira@brutus> Date: Thu, 10 Jul 2008 03:12:31 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-1196) Filter with special characters crashes JVM In-Reply-To: <1636794918.1215631051703.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1196: ----------------------------------------- Fix Version/s: 1.5.3 Will be fixed for 1.5.3 > Filter with special characters crashes JVM > ------------------------------------------ > > Key: DIRSERVER-1196 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1196 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Affects Versions: 1.5.3 > Environment: Windows running under jboss > Reporter: Steve hammond > Assignee: Emmanuel Lecharny > Fix For: 1.5.3 > > > the following command > FilterParser.parse("(memberOf=1.2.840.113556.1.4.1301=$#@&*()==,2.5.4.11=local,2.5.4.11=users,2.5.4.11=readimanager)"); > will put the filter parser apparently into an infinite loop until the JVM crashes. > aparently it is the () in the middle. LDAPStudio does not allow that in the filter, neither does ldapsearch. > So maybe just a check for parenthesis somewhere in the parse and a throw? Are those the only 2 characters that a value cannot have? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.