You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/05/25 23:37:36 UTC

[jira] Resolved: (DIRSHARED-36) Attribute type description schema parser uses integer for syntax length, should be BigInteger

     [ https://issues.apache.org/jira/browse/DIRSHARED-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSHARED-36.
----------------------------------------

    Resolution: Fixed

Fixed with :

http://svn.apache.org/viewvc?rev=948212&view=rev


> 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: 1.0.0-RC1
>
>
> 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.