Buffer.getLong() is broken which causes large files corruption during upload
----------------------------------------------------------------------------

                 Key: SSHD-130
                 URL: https://issues.apache.org/jira/browse/SSHD-130
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.5.0
            Reporter: Taras Puchko


Files of size more than 4G are uploaded corrupted, due to the a bug in 
Buffer.getLong() implementation.

JLS 15.19: If the promoted type of the left-hand operand is int, only the five 
lowest-order bits of the right-hand operand are used as the shift distance.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to