accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dylan Hutchison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3900) Incorrect precondition checking in AbstractEncoder
Date Fri, 12 Jun 2015 06:43:00 GMT

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

Dylan Hutchison updated ACCUMULO-3900:
--------------------------------------
    Priority: Minor  (was: Trivial)

> 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: Minor
>             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)

Mime
View raw message