author | weijun |
Thu, 19 Aug 2010 12:24:53 +0800 | |
changeset 6312 | ec857430700d |
parent 6311 | 1448d18935b5 |
child 6315 | a02eddc607b7 |
jdk/src/share/classes/com/sun/jndi/ldap/Connection.java | file | annotate | diff | comparison | revisions |
--- a/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java Thu Aug 19 11:26:32 2010 +0800 +++ b/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java Thu Aug 19 12:24:53 2010 +0800 @@ -813,7 +813,8 @@ try { while (true) { try { - inbuf = new byte[10]; + // type and length (at most 128 octets for long form) + inbuf = new byte[129]; offset = 0; seqlen = 0;