Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.1
-
None
Description
DiskFileItem.get() invokes InputStream#read, and appears to assume that it will always read all available data. However that is not necessarily the case.
It would be safer to use the Commons IO method IOUtils#readFully
[The component already depends on CommonsIO]