You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/25 01:49:12 UTC

[jira] [Commented] (CXF-6115) Transferable.transferTo can cause infinite loop or stack overflow

    [ https://issues.apache.org/jira/browse/CXF-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223859#comment-14223859 ] 

ASF GitHub Bot commented on CXF-6115:
-------------------------------------

GitHub user kylape opened a pull request:

    https://github.com/apache/cxf/pull/31

    [CXF-6115] TransferableFileInputStream.transferTo can cause infinite loo...

    ...p or stack overflow

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kylape/cxf cxf-6115

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/31.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #31
    
----
commit 9a0a6bc10f5b52f79e8606fed099325cd8720d00
Author: Kyle Lape <ky...@redhat.com>
Date:   2014-11-25T00:43:29Z

    [CXF-6115] TransferableFileInputStream.transferTo can cause infinite loop or stack overflow

----


> Transferable.transferTo can cause infinite loop or stack overflow
> -----------------------------------------------------------------
>
>                 Key: CXF-6115
>                 URL: https://issues.apache.org/jira/browse/CXF-6115
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Kyle Lape
>
> When calling {{transferTo}} and the {{renameTo}} method returns {{false}}, the current alternative in the code is very likely to throw a {{StackOverflowError}} or cause the JVM to run out of file handles.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)