提交 ee186d15 编写于 作者: W weijun

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

Reviewed-by: vinnie, xuelei
上级 80313fdd
...@@ -813,7 +813,8 @@ public final class Connection implements Runnable { ...@@ -813,7 +813,8 @@ public final class Connection implements Runnable {
try { try {
while (true) { while (true) {
try { try {
inbuf = new byte[10]; // type and length (at most 128 octets for long form)
inbuf = new byte[129];
offset = 0; offset = 0;
seqlen = 0; seqlen = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册