Anthony Goubard created VFS-825:
-----------------------------------

             Summary: GZip input and output stream results in StackOverflowError
                 Key: VFS-825
                 URL: https://issues.apache.org/jira/browse/VFS-825
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.10.0
            Reporter: Anthony Goubard


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]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to