mirror of
https://github.com/corda/corda.git
synced 2025-01-25 05:46:46 +00:00
a8645b6b2d
In commit 7fffba2, I had modified BufferedInputStream.read to keep reading until in.available() <= 0 or an EOF was reached, but neglected to update the offset into the destination buffer after each read. This caused the previously-read data to be overwritten. This commit fixes that regression.