You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Alex (Jira)" <ji...@apache.org> on 2024/10/16 10:05:00 UTC

[jira] [Created] (ARTEMIS-5112) Spot check in ClientSessionFactoryImpl.java

Alex created ARTEMIS-5112:
-----------------------------

             Summary: Spot check in ClientSessionFactoryImpl.java
                 Key: ARTEMIS-5112
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5112
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Alex


The createTransportConnection() function uses the try{}...catch{} block. In this block, a transportConnection variable is created, which, under any conditions of creation, is checked for the value != NULL. There is no security threat, as this is just an unnecessary check.

[https://github.com/apache/activemq-artemis/blob/4c6cded2e79cf10d2323de1b5fa7418b289ab034/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java#L1314C10-L1319]

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.
Author A.Rudyuk.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact