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

GZip input and output stream results in StackOverflowError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.0
    • 2.10.0
    • None

    Description

      The methods GZipFileObject#doGetInputStream and GZipFileObject#doGetOuputStream generate a StackOverflowError.

      The loops are GZipFileObject#doGetInputStream(int) > AbstractFileObject#getInputStream() > AbstractFileObject#getInputStream(int) > GZipFileObject#doGetInputStream(int)
      and GZipFileObject#doGetOutputStream(boolean) > AbstractFileObject#getOutputStream(boolean) > GZipFileObject#doGetOutputStream(boolean)

      This is probably due to the commit https://github.com/apache/commons-vfs/commit/a1aa1de2f981f624bb1022b94ceb05aa1a09f650

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agoubard Anthony Goubard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: