The Length' s nuber of byte must not be 127
-------------------------------------------
Key: DIRSNICKERS-102
URL: http://issues.apache.org/jira/browse/DIRSNICKERS-102
Project: Directory Snickers
Type: Bug
Components: BER Runtime
Reporter: Emmanuel Lecharny
Attachments: Length-branches.diff, Length-trunk.diff
in class Length (/asn1-ber/src/java/org/apache/asn1/ber/Lengrh.java, 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, 8.1.3.5, 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|