]
Galder Zamarreno resolved ISPN-110.
-----------------------------------
Resolution: Done
FileCacheStore.fromStreamLockSafe() should only read available bytes
or streamBufferSize
----------------------------------------------------------------------------------------
Key: ISPN-110
URL:
https://jira.jboss.org/jira/browse/ISPN-110
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 4.0.0.ALPHA5
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 4.0.0.BETA1
With VAM, that uses JBoss Marshaller underneath, FileCacheStore.fromStreamLockSafe()
should only
try to read as many bytes as "int numBytes = objectInput.readInt();" returned
or streamBufferSize if bigger,
otherwise it will read too much. Remember that to safe payload space, JBMAR avoided
adding markers
at the end of each object so we should make sure only the required number of bytes are
read.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: