Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1712

[openwire] missing null check could lead to NPE during TX rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • OpenWire
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              tabish Timothy A. Bish
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: