The ASN.1 decoder accepts a LdapMessage which is too short
----------------------------------------------------------

         Key: DIRSNICKERS-121
         URL: http://issues.apache.org/jira/browse/DIRSNICKERS-121
     Project: Directory ASN1
        Type: Bug
    Reporter: Emmanuel Lecharny
 Assigned to: Emmanuel Lecharny 


There is a big side-effect in Twix. If we feed it with an LdapMessage that does 
not contain all the needed fields of the SEQUENCE, it is still decoded 
correctly by the Asn1Decoder. 

For instance, 0x30 0x03 0x02 0x01 0x01 is valid for twix, but this is not an 
acceptable LdapMessage (it only contains the MessageId, without any protocol 
Operation).



-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to