You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2018/02/28 16:04:00 UTC

[jira] [Resolved] (ARTEMIS-1712) [openwire] missing null check could lead to NPE during TX rollback

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

Timothy Bish resolved ARTEMIS-1712.
-----------------------------------
    Resolution: Fixed

> [openwire] missing null check could lead to NPE during TX rollback
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-1712
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1712
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.4.0
>            Reporter: Timothy Bish
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> Code in OpenWireConnection that processes transaction rollback fails to check that the TX provided is not null before trying to extract the session from the protocol data which could lead to an NPE and circumvent all the later checking that tries to handle that case such as a rollback when TX not started case.



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