cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Sorokoumov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-14906) FastByteOperations.UnsafeOperations fails to handle read only byte buffers correctly
Date Tue, 20 Nov 2018 10:48:00 GMT
Aleksandr Sorokoumov created CASSANDRA-14906:
------------------------------------------------

             Summary: FastByteOperations.UnsafeOperations fails to handle read only byte buffers
correctly
                 Key: CASSANDRA-14906
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14906
             Project: Cassandra
          Issue Type: Bug
            Reporter: Aleksandr Sorokoumov
            Assignee: Aleksandr Sorokoumov
             Fix For: 4.x


If a buffer is read only it reports having no array, though it may well be backed by an array.
Code in UnsafeOperation works under the impression that a buffer for which hasArray() == false
is necessarily a direct buffer. Which is not the case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message