Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The method org.apache.commons.vfs2.FileContent.getByteArray() can throw NegativeArraySizeException for BZip2 files when a file size within the compressed file cannot be determined.
This method is called by:
- org.apache.commons.vfs2.FileContent.getString(Charset)
- org.apache.commons.vfs2.FileContent.getString(String)
- org.apache.commons.vfs2.FileUtil.getContent(FileObject)