accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2278) Return value from in.read() should be checked in NonCachingSecretKeyEncryptionStrategy#doKeyEncryptionOperation()
Date Fri, 18 Jul 2014 03:36:05 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Drob updated ACCUMULO-2278:
--------------------------------

    Labels: newbie  (was: )

> Return value from in.read() should be checked in NonCachingSecretKeyEncryptionStrategy#doKeyEncryptionOperation()
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2278
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2278
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>              Labels: newbie
>
> Here is related code:
> {code}
>       byte[] keyEncryptionKey = new byte[keyEncryptionKeyLength];
>       in.read(keyEncryptionKey);
> {code}
> The return value should be checked so that we don't need to call cipher.init() in case
encryption key isn't read properly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message