[
https://issues.apache.org/jira/browse/VFS-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619412#comment-17619412
]
Anthony Goubard commented on VFS-825:
-------------------------------------
Bug fix pull request: https://github.com/apache/commons-vfs/pull/322
> 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
> Priority: Major
>
> 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)