directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r224517 - /directory/asn1/branches/ber-decoder/modules/runtime/src/java/org/apache/asn1/encoding/ber/Length.java
Date Sat, 23 Jul 2005 19:31:39 GMT
Author: adc
Date: Sat Jul 23 12:31:36 2005
New Revision: 224517

URL: http://svn.apache.org/viewcvs?rev=224517&view=rev
Log:
Properly handle short form lengths.

Modified:
    directory/asn1/branches/ber-decoder/modules/runtime/src/java/org/apache/asn1/encoding/ber/Length.java

Modified: directory/asn1/branches/ber-decoder/modules/runtime/src/java/org/apache/asn1/encoding/ber/Length.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/ber-decoder/modules/runtime/src/java/org/apache/asn1/encoding/ber/Length.java?rev=224517&r1=224516&r2=224517&view=diff
==============================================================================
--- directory/asn1/branches/ber-decoder/modules/runtime/src/java/org/apache/asn1/encoding/ber/Length.java
(original)
+++ directory/asn1/branches/ber-decoder/modules/runtime/src/java/org/apache/asn1/encoding/ber/Length.java
Sat Jul 23 12:31:36 2005
@@ -141,6 +141,10 @@
                     numOctets = octet & 0x7F;
                 }
             }
+            else
+            {
+                fixate();                
+            }
         }
         
         /*



Mime
View raw message