From dev-return-19893-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sun Jul 01 15:26:28 2007 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 76883 invoked from network); 1 Jul 2007 15:26:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2007 15:26:27 -0000 Received: (qmail 3582 invoked by uid 500); 1 Jul 2007 15:26:30 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 3367 invoked by uid 500); 1 Jul 2007 15:26:29 -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 3121 invoked by uid 99); 1 Jul 2007 15:26:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 08:26:28 -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; Sun, 01 Jul 2007 08:26:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CDFC17141ED for ; Sun, 1 Jul 2007 08:26:04 -0700 (PDT) Message-ID: <19102559.1183303564839.JavaMail.jira@brutus> Date: Sun, 1 Jul 2007 08:26:04 -0700 (PDT) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-891) ACIItemSyntaxChecker accepts incomplete or invalid ACI Items In-Reply-To: <1694740.1175443052603.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-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509419 ] Alex Karasulu commented on DIRSERVER-891: ----------------------------------------- Perhaps we should fix this sooner rather than later because it could result in some undefined behavior. If Ersin can find the fix quickly since he understands this code best then perhaps we should shove it into 1.5.1. If the fix is not apparent and will take more time we can postpone it to 1.5.2. > ACIItemSyntaxChecker accepts incomplete or invalid ACI Items > ------------------------------------------------------------ > > Key: DIRSERVER-891 > URL: https://issues.apache.org/jira/browse/DIRSERVER-891 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.0 > Reporter: Stefan Seelmann > Fix For: 1.5.2 > > > The ACIItemSyntaxChecker accepts incomplete or invalid ACI Items. > 1.) An ACI item with the following protected item isn't rejected: "...attributeValue { must_be_a_name_value_pair }..." > 2.) Incomplete ACIs like "{ identificationTag "id2" }" aren't rejected > I add some commented test cases to ACIItemSyntaxCheckerTest. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.