[infinispan-issues] [JBoss JIRA] (ISPN-10102) Off heap memory get/put byte should check for 1 byte, not 4

Galder Zamarreño (Jira) issues at jboss.org
Mon Apr 1 10:26:10 EDT 2019


Galder Zamarreño created ISPN-10102:
---------------------------------------

             Summary: Off heap memory get/put byte should check for 1 byte, not 4
                 Key: ISPN-10102
                 URL: https://issues.jboss.org/browse/ISPN-10102
             Project: Infinispan
          Issue Type: Bug
          Components: Off Heap
    Affects Versions: 9.4.11.Final, 10.0.0.Beta3
            Reporter: Galder Zamarreño
            Assignee: Galder Zamarreño
             Fix For: 10.0.0.Beta4, 10.0.0.Final


Off-heap's getByte/putByte code check that 4 bytes can be read/written when in reality it should only need 1 byte. 

This will only show up if the byte is read/written at the end of a stream. I don't think it happens right now in the code but could happen in the future.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the infinispan-issues mailing list