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

Hudson commented on ZOOKEEPER-2039:
-----------------------------------

FAILURE: Integrated in ZooKeeper-trunk #2443 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2443/])
ZOOKEEPER-2039 Jute compareBytes incorrect comparison index (Ian Dimayuga via 
fpj) (fpj: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1626008)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/main/org/apache/jute/Utils.java


> 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
>            Assignee: Ian Dimayuga
>            Priority: Minor
>             Fix For: 3.4.7, 3.5.1
>
>         Attachments: ZOOKEEPER-2039.patch, 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)

Reply via email to