You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/09/16 05:02:33 UTC

[jira] [Commented] (ZOOKEEPER-2039) Jute compareBytes incorrect comparison index

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

Hadoop QA commented on ZOOKEEPER-2039:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12668956/ZOOKEEPER-2039.patch
  against trunk revision 1623916.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2335//console

This message is automatically generated.

> Jute compareBytes incorrect comparison index
> --------------------------------------------
>
>                 Key: ZOOKEEPER-2039
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2039
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: jute
>    Affects Versions: 3.4.6, 3.5.0
>            Reporter: Ian Dimayuga
>            Priority: Minor
>             Fix For: 3.4.7, 3.5.1
>
>         Attachments: ZOOKEEPER-2039.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The Jute utility's naïve byte-array comparison compares b1[off1+i] with b2[off2+1]. (A literal 1, not the variable i)
> It should be off2+i, in parallel with the other operand.



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