[infinispan-issues] [JBoss JIRA] (ISPN-2193) MarshalledValue fails to compare the correct buffer region of ExpandableMarshalledValueByteStream instances having an estimated buffer size
Tristan Tarrant (JIRA)
jira-events at lists.jboss.org
Wed Aug 22 15:37:15 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-2193:
----------------------------------
Fix Version/s: 5.2.0.Final
Git Pull Request: https://github.com/infinispan/infinispan/pull/1237, https://github.com/infinispan/infinispan/pull/1238 (was: https://github.com/infinispan/infinispan/pull/1237, https://github.com/infinispan/infinispan/pull/1238)
> MarshalledValue fails to compare the correct buffer region of ExpandableMarshalledValueByteStream instances having an estimated buffer size
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-2193
> URL: https://issues.jboss.org/browse/ISPN-2193
> Project: Infinispan
> Issue Type: Bug
> Components: Core API, Distributed Cache, Marshalling, RPC
> Affects Versions: 5.1.5.FINAL, 5.2.0.ALPHA2
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Priority: Blocker
> Fix For: 5.1.6.FINAL, 5.2.0.Alpha3, 5.2.0.Final
>
>
> This problem was spotted by the Hibernate 2nd level cache testsuite.
> Since the introduction of ExpandableMarshalledValueByteStream as an improvement to MarshalledValue, the war buffer might be allocated larger than the actually used buffer region. Most usages of getRaw() where correctly using the area, except the final line of the equals implementation of MarshalledValue - which is reached only in exceptional cases and configurations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list