[ 
https://issues.apache.org/jira/browse/SSHD-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Taras Puchko updated SSHD-130:
------------------------------

    Description: 
Files of size more than 4G are uploaded corrupted, due to 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.


  was:
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.



> 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
>         Attachments: Fix_Buffer_getLong.patch
>
>
> Files of size more than 4G are uploaded corrupted, due to 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