You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2019/10/17 23:01:00 UTC

[jira] [Updated] (VFS-744) org.apache.commons.vfs2.FileContent.getByteArray() can throw NegativeArraySizeException for BZip2 files

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

Gary D. Gregory updated VFS-744:
--------------------------------
    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)

  was:
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.

 


> org.apache.commons.vfs2.FileContent.getByteArray() can throw NegativeArraySizeException for BZip2 files
> -------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-744
>                 URL: https://issues.apache.org/jira/browse/VFS-744
>             Project: Commons VFS
>          Issue Type: New Feature
>            Reporter: Gary D. Gregory
>            Priority: Major
>
> 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)