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] [Created] (ACCUMULO-3900) Incorrect precondition checking in AbstractEncoder
Date Fri, 12 Jun 2015 00:12:01 GMT
Dylan Hutchison created ACCUMULO-3900:
-----------------------------------------

             Summary: 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


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