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: dev@tomcat.apache.org
        ReportedBy: ocos...@zenprise.com


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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to