yuluo-yx opened a new issue, #10829:
URL: https://github.com/apache/rocketmq/issues/10829

   MQVersion.getVersionDesc and value2Version clamp values above the known 
range, but negative values index the version array directly and throw 
ArrayIndexOutOfBoundsException. Version values originate from remote client 
metadata, so malformed or unknown negative values should be handled without 
crashing callers. Expected behavior: clamp negative values to the earliest 
known version, consistently with the existing upper-bound handling.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to