Wrong size read causing hangup.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366398 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian T. Co 2006-01-06 03:04:54 +00:00
parent 04968b6811
commit d265b31385
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ abstract public class DataStreamMarshaller {
} }
o.setStackTrace(ss); o.setStackTrace(ss);
} else { } else {
int size = dataIn.readInt(); short size = dataIn.readShort();
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
readString(dataIn, bs); readString(dataIn, bs);
readString(dataIn, bs); readString(dataIn, bs);