You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Anthony Goubard (Jira)" <ji...@apache.org> on 2022/12/05 08:46:00 UTC
[jira] [Closed] (VFS-825) GZip input and output stream results in StackOverflowError
[ https://issues.apache.org/jira/browse/VFS-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Goubard closed VFS-825.
-------------------------------
Merge verified in the master branch.
> 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
> Fix For: 2.10.0
>
>
> 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)