You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/06/12 08:10:01 UTC

[jira] [Updated] (ACCUMULO-3900) Incorrect precondition checking in AbstractEncoder

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

Christopher Tubbs updated ACCUMULO-3900:
----------------------------------------
    Fix Version/s: 1.8.0
                   1.7.1

> Incorrect precondition checking in AbstractEncoder
> --------------------------------------------------
>
>                 Key: ACCUMULO-3900
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3900
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.7.0
>            Reporter: Dylan Hutchison
>            Assignee: Dylan Hutchison
>            Priority: Trivial
>             Fix For: 1.7.1, 1.8.0
>
>
> In the method 
> {code}public T decode(byte[] b, int offset, int len){code}
> the precondition 
> {code}offset + len < b.length{code}
> should use {{<=}}



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