Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 23241 invoked from network); 26 May 2010 00:41:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 00:41:54 -0000 Received: (qmail 58813 invoked by uid 500); 26 May 2010 00:41:54 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 58641 invoked by uid 500); 26 May 2010 00:41:53 -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 58634 invoked by uid 99); 26 May 2010 00:41:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 00:41:53 +0000 X-ASF-Spam-Status: No, hits=-1464.8 required=10.0 tests=ALL_TRUSTED,AWL 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 00:41:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4Q0fWxT001312 for ; Wed, 26 May 2010 00:41:33 GMT Message-ID: <5102330.48711274834492912.JavaMail.jira@thor> Date: Tue, 25 May 2010 20:41:32 -0400 (EDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSHARED-36) Attribute type description schema parser uses integer for syntax length, should be BigInteger In-Reply-To: <1047466692.1253990595984.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSHARED-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-36: --------------------------------------- Fix Version/s: 0.9.20 (was: 1.0.0-RC1) > Attribute type description schema parser uses integer for syntax length, should be BigInteger > --------------------------------------------------------------------------------------------- > > Key: DIRSHARED-36 > URL: https://issues.apache.org/jira/browse/DIRSHARED-36 > Project: Directory Shared > Issue Type: Bug > Affects Versions: 0.9.15 > Reporter: Stefan Seelmann > Assignee: Stefan Seelmann > Fix For: 0.9.20 > > > The schema parser assumes that the syntax length of an attribute type description is an integer. RFC4512 states that this is a number: > number = DIGIT / ( LDIGIT 1*DIGIT ) > As an example, Novell eDirectory defines the following AT where the length is greather then Integer.MAX_VALUE and so parsing fails: > ( 2.16.840.1.113719.1.1.4.1.123 NAME 'certificateValidityInterval' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{4294967295} SINGLE-VALUE X-NDS_NAME 'Certificate Validity Interval' X-NDS_LOWER_BOUND '60' X-NDS_UPPER_BOUND '-1' X-NDS_NONREMOVABLE '1' ) > We should use a BigInteger and check that the number is positive. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.