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/26 02:41:32 UTC
[jira] Updated: (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 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.