Marcono1234 opened a new pull request, #456:
URL: https://github.com/apache/commons-io/pull/456

   The expression `1024 * 1024 * 1024 * 2 - 1` actually overflows twice:
   - 1024 * 1024 * 1024 * 2 = -2147483648
   - -2147483648 - 1 = 2147483647
   
   While this produces the desired end result (2147483647), it is probably 
saner to avoid the overflow in the first place.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to