Andrey Slepykh created ARTEMIS-4748:
---------------------------------------

             Summary: FB.DLS_DEAD_LOCAL_STORE Dead store
                 Key: ARTEMIS-4748
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4748
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: ActiveMQ-Artemis-Native
    Affects Versions: 2.25.0
            Reporter: Andrey Slepykh
            Assignee: Clebert Suconic
         Attachments: image-2024-04-29-01-38-00-000.png

in [class 
LocalGroupingHandler|https://github.com/apache/activemq-artemis/blob/b50f01b02b4c829e7330980837629951eeafb304/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/group/impl/LocalGroupingHandler.java#L51C20-L51C40]

 

!image-2024-04-29-01-38-00-000.png|width=785,height=63!

You create an instance of a class and immediately use the remove method, 
although you should first check that this instance is full

 

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

Author: Firsov Vladimir, BMSTU ([email protected])



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

Reply via email to