[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] bug in java.io.ObjectInputStream
From: |
jonathan . shore |
Subject: |
[cp-patches] bug in java.io.ObjectInputStream |
Date: |
Thu, 4 Aug 2005 16:03:56 -0400 |
Bug caused garbled data to return when buffer is refreshed
in certain circumstances:
- data item to be read spans two buffers (not enough bytes in current)
Bug is caused by:
- return value "length" is not the amount of bytes read, rather
the length minus
amount read in previous buffer, should be total amount read
Patch for java/io/ObjectInputStream.java enclosed.
Jonathan Shore
HSBC Securities
***********************************************************************
This E-mail is confidential. It may also be legally privileged. If you
are not the addressee you may not copy, forward, disclose or use any
part of it. If you have received this message in error, please delete
it and all copies from your system and notify the sender immediately
by return E-mail.
Internet communications cannot be guaranteed to be timely, secure,
error or virus-free. The sender does not accept liability for any
errors or omissions.
***********************************************************************
patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] bug in java.io.ObjectInputStream,
jonathan . shore <=