[
https://issues.apache.org/jira/browse/ARTEMIS-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866775#comment-17866775
]
Robbie Gemmell commented on ARTEMIS-4927:
-----------------------------------------
The referenced code, from 2.25.0 for some reason, no longer exists. Seems it
was already changed ~8 months ago in 2.32.0 as part of ARTEMIS-3932 via
https://github.com/apache/activemq-artemis/commit/9a7a6f89cf
> Potential BadCopyPaste in AddressSettings.hashCode()
> ----------------------------------------------------
>
> Key: ARTEMIS-4927
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4927
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Ekaterina Zilotina
> Priority: Major
> Attachments: image-2024-07-17-15-55-17-115.png
>
>
> There are potential null dereference and bad copy paste in hashCode()
> function [in lines
> 1699-1700|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java#L1698-L1700]
> (AddressSettings.java) when working with ExpiryDelay.
> found with SVACE static analyzer
> !image-2024-07-17-15-55-17-115.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact