History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-217
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Jeen Broekstra
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

Overflow in byte counter for file uploads of files larger than 2GB

Created: 13/Jan/06 04:55 PM   Updated: 06/Feb/06 10:20 PM
Component/s: Admin (add/remove statements)
Affects Version/s: 1.0, 1.0.1, 1.1, 1.0.2, 1.2, 1.0.3, 1.0.4, 1.1-RC1, 1.1-RC2, 1.1.1, 1.1.2, 1.1.3, 1.2-RC1, 1.2-RC2, 1.2.1, 1.2.2, 1.2.3
Fix Version/s: 1.2.4


 Description   
IOUtil.writeToFile reports the number of written bytes as an int. This is used to log the number of bytes a files has during upload. However, for files larger than 2GB the reported number is higher than MAX_INT and the report then gives a negative number.

The return type should be changed to long.

 All   Comments   Change History      Sort Order:
Comment by Jeen Broekstra [13/Jan/06 04:56 PM]
Fixed in CVS.