[
https://issues.apache.org/jira/browse/ARTEMIS-5662?focusedWorklogId=988679&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-988679
]
ASF GitHub Bot logged work on ARTEMIS-5662:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 23/Oct/25 17:53
Start Date: 23/Oct/25 17:53
Worklog Time Spent: 10m
Work Description: jbertram opened a new pull request, #6002:
URL: https://github.com/apache/activemq-artemis/pull/6002
(no comment)
Issue Time Tracking
-------------------
Worklog Id: (was: 988679)
Remaining Estimate: 0h
Time Spent: 10m
> NegativeArraySizeException in StringSimpleStringPool's constructor
> ------------------------------------------------------------------
>
> Key: ARTEMIS-5662
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5662
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.44.0
>
> Attachments: NegativeArraySizeException_ StringSimpleStringPool.tar
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A bug was discovered as a result of fuzz-testing of SimpleString class
> methods:
> NegativeArraySizeException is thrown when passing a capacity greater than
> 2^30 to the StringSimpleStringPool constructor.
> I have created a standalone repro for this bug (attached archive). You can
> reproduce it by running the following command:
> {code:java}
> java -cp .:jars/* NegativeArraySizeBug.java{code}
> This bug does not pose a threat, but since the constructor is public, please
> consider the possibility of handling this exception or adding information
> about it to the documentation.
--
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