Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-744

org.apache.commons.vfs2.FileContent.getByteArray() can throw NegativeArraySizeException for BZip2 files

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: