directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r165492 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/Asn1Decoder.java
Date Sun, 01 May 2005 12:23:33 GMT
Author: elecharny
Date: Sun May  1 05:23:32 2005
New Revision: 165492

URL: http://svn.apache.org/viewcvs?rev=165492&view=rev
Log:
The TLV state automaton has been corrected to handle correctly transition between Length Pending
state and Length End State

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/Asn1Decoder.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/Asn1Decoder.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/Asn1Decoder.java?rev=165492&r1=165491&r2=165492&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/Asn1Decoder.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/Asn1Decoder.java Sun
May  1 05:23:32 2005
@@ -393,7 +393,7 @@
                 length.setLength( ( length.getLength() << 8 ) | octect );
             }
 
-            container.setState( TLVStateEnum.VALUE_STATE_START );
+            container.setState( TLVStateEnum.LENGTH_STATE_END );
 
             return MORE;
         }



Mime
View raw message