6921610: 1.6 update 17 and 18 throw java.lang.IndexOutOfBoundsException

Reviewed-by: vinnie, xuelei
This commit is contained in:
Weijun Wang 2010-08-19 12:24:53 +08:00
parent 34198dbc4c
commit c736a3d9c7

View File

@ -813,7 +813,8 @@ public final class Connection implements Runnable {
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;