activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1754) LargeServerMessageImpl.toString() may leak files
Date Tue, 20 Mar 2018 19:01:00 GMT

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

ASF GitHub Bot commented on ARTEMIS-1754:
-----------------------------------------

Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1959
  
    @cshannon +1.. i will change it



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

Mime
View raw message