https://issues.apache.org/bugzilla/show_bug.cgi?id=50646
Summary: Tribes ByteMessage will get corrupted if message size
exceeds the underlying buffer size
Product: Tomcat 7
Version: 7.0.6
Platform: PC
OS/Version: All
Status: NEW
Keywords: PatchAvailable
Severity: major
Priority: P2
Component: Cluster
AssignedTo: [email protected]
ReportedBy: [email protected]
The Tribes ByteMessage class is used to transfer byte payloads in the context
of the tribes communication framework.
Due to how the message is deserialized, there will be data loss (and hence
corruption) if the message size exceeds the underlying buffer size.
The solution is to replace an ObjectInput#read(byte[]) call by
ObjectInput#readFully(byte[]).
Fix is attached.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]