You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/12/04 21:31:00 UTC

[jira] [Resolved] (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 ]

Gary D. Gregory resolved VFS-825.
---------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

[~agoubard] 

Thank you for your report and PR. Please verify git master and close.

> 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)