hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11040) Return value of read(ByteBuffer buf) in CryptoInputStream is incorrect in some cases
Date Mon, 01 Sep 2014 01:48:21 GMT
Yi Liu created HADOOP-11040:
-------------------------------

             Summary: Return value of read(ByteBuffer buf) in CryptoInputStream is incorrect
in some cases
                 Key: HADOOP-11040
                 URL: https://issues.apache.org/jira/browse/HADOOP-11040
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 2.6.0
            Reporter: Yi Liu
            Assignee: Yi Liu


In {{CryptoInputStream}}, for {{int read(ByteBuffer buf))}}, if there is unread value in outBuffer,
then the current return value is incorrect. This case happens when caller uses bytes array
read firstly and then do the ByteBuffer read.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message