Ensure larger Tribes messages are fully read.
Patch provided by Olivier Costet.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1063816 13f79535-47bb-0310-9956-
ffa450edef68
public void readExternal(ObjectInput in ) throws IOException {
int length = in.readInt();
message = new byte[length];
- in.read(message,0,length);
+ in.readFully(message);
}
/**
<code>RpcChannel</code> is interrupted waiting for a message reply.
Based on a patch by Olivier Costet. (markt)
</fix>
+ <fix>
+ <bug>50646</bug>: Ensure larger Tribes messages are fully read. Patch
+ provided by Olivier Costet. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Web applications">