Mikhail Titov created ARTEMIS-5668:
--------------------------------------

             Summary: Exceptions in AddressSettings - decode() method
                 Key: ARTEMIS-5668
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5668
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 2.31.2, 2.43.0
         Environment: openjdk version "21.0.8" 2025-07-15
            Reporter: Mikhail Titov
         Attachments: Exceptions_AddressSetting_decode.tar

Some bugs were discovered as a results of fuzz-testing of AddressSettings - 
decode() method:
1. IndexOutOfBoundsException
2. NegativeArraySizeException
I have created a standalone repro for different bug types (attached archive). 
You can reproduce them by running the following command:
{code:java}
java -cp .:jars/* DecodeBugs.java {code}
You might also want to reproduce all crash samples found by fuzzer (stack 
traces are slightly different for some of them). To do this you can simply 
uncomment the following line:
{code:java}
//crashDirName = "all_crashes"; {code}
and rerun the program.



--
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


Reply via email to