You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Howard Gao (JIRA)" <ji...@apache.org> on 2018/03/21 08:21:00 UTC

[jira] [Closed] (ARTEMIS-1754) LargeServerMessageImpl.toString() may leak files

     [ https://issues.apache.org/jira/browse/ARTEMIS-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard Gao closed ARTEMIS-1754.
-------------------------------
    Resolution: Fixed

> LargeServerMessageImpl.toString() may leak files
> ------------------------------------------------
>
>                 Key: ARTEMIS-1754
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1754
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.5.0
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Major
>             Fix For: 2.5.1
>
>
> This overridden method calls getPersistentSize() which may lead to open the large file to get the size. Calling it alone will cause the file being opened without closing it.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)