Index: Base64.java
===================================================================
RCS file: 
/home/cvspublic/xml-soap/java/src/org/apache/soap/encoding/soapenc/Base64.java,v
retrieving revision 1.3
diff -u -r1.3 Base64.java
--- Base64.java 4 Oct 2002 02:06:17 -0000       1.3
+++ Base64.java 24 Oct 2002 12:48:33 -0000
@@ -109,7 +109,7 @@
     public static byte[] decode(String data) {
         int ibufcount = 0;
         int slen = data.length();
-        char[] ibuf = new char[slen < BUF_SIZE ? slen : BUF_SIZE];
+        char[] ibuf = new char[slen < BUF_SIZE +3 ? slen : BUF_SIZE + 3];
         byte[] obuf = new byte[slen/4*3+3];
         int obufcount = 0;
         int blen = 0;

--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@;xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@;xml.apache.org>

Reply via email to