directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Updated: (DIRSNICKERS-102) The Length' s nuber of byte must not be 127
Date Sat, 12 Feb 2005 11:04:12 GMT
     [ ]

Emmanuel Lecharny updated DIRSNICKERS-102:

    Attachment: LengthTest-trunk.diff

Those are two test cases related to the issue. 

The Undefinite Length form is not allowed by RFC 2251 : chapter 5.1, limitation (1), so it
could make sense to throw an exception in this particullary case. However, it may seems a
little bit restrictive, so I suggest that a configuration flag should be use to allow or disallow
this feature.

The point is : are we trying to build a generic ASN.1 compliant decoder, or a specific one.

> The Length' s nuber of byte must not be 127
> -------------------------------------------
>          Key: DIRSNICKERS-102
>          URL:
>      Project: Directory Snickers
>         Type: Bug
>   Components: BER Runtime
>     Reporter: Emmanuel Lecharny
>  Attachments: Length-branches.diff, Length-trunk.diff, LengthTest-branche.diff, LengthTest-trunk.diff
> in class Length (/asn1-ber/src/java/org/apache/asn1/ber/, in both trunk and
branches), the number of bytes that is necessary to encode the Value length MUST NOT be ==
127 (this value is reserved for future extension : ITU-T X690,, c))
> I don't think that we have to deal with indefinite length, and I expect so, because the
code does not accept thid kind f Length.
> Diff files attached.
> Unit Test TBD.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message