commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (Jira)" <j...@apache.org>
Subject [jira] [Updated] (VFS-744) org.apache.commons.vfs2.FileContent.getByteArray() can throw NegativeArraySizeException for BZip2 files
Date Thu, 17 Oct 2019 23:01:00 GMT

     [ 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)

Mime
View raw message