Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2193

MarshalledValue fails to compare the correct buffer region of ExpandableMarshalledValueByteStream instances having an estimated buffer size

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sannegrinovero Sanne GRINOVERO
                  Reporter:
                  sannegrinovero Sanne GRINOVERO
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: