ASF Bugzilla – Attachment 26544 Details for
Bug 50646
Tribes ByteMessage will get corrupted if message size exceeds the underlying buffer size
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff
ByteMessage_fix.diff (text/plain), 509 bytes, created by
Olivier Costet
on 2011-01-25 07:09:27 UTC
(
hide
)
Description:
svn diff
Filename:
MIME Type:
Creator:
Olivier Costet
Created:
2011-01-25 07:09:27 UTC
Size:
509 bytes
patch
obsolete
>Index: java/org/apache/catalina/tribes/ByteMessage.java >=================================================================== >--- java/org/apache/catalina/tribes/ByteMessage.java (revision 1063205) >+++ java/org/apache/catalina/tribes/ByteMessage.java (working copy) >@@ -86,7 +86,7 @@ > public void readExternal(ObjectInput in ) throws IOException { > int length = in.readInt(); > message = new byte[length]; >- in.read(message,0,length); >+ in.readFully(message); > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50646
: 26544