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

Sebb resolved FILEUPLOAD-245.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

URL: http://svn.apache.org/r1568678
Log:
FILEUPLOAD-245 DiskFileItem.get() may not fully read the data

Modified:
    commons/proper/fileupload/trunk/src/changes/changes.xml
    
commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java


> DiskFileItem.get() may not fully read the data
> ----------------------------------------------
>
>                 Key: FILEUPLOAD-245
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-245
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.3.1
>            Reporter: Sebb
>             Fix For: 1.4
>
>
> 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]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to