accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3900) Incorrect precondition checking in AbstractEncoder
Date Fri, 12 Jun 2015 16:55:01 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583693#comment-14583693
] 

ASF GitHub Bot commented on ACCUMULO-3900:
------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/accumulo/pull/37


> 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
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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