yuluo-yx opened a new issue, #10832: URL: https://github.com/apache/rocketmq/issues/10832
RemotingCommand.decode reads the header marker without checking that four bytes are available and passes an unknown serialize-type code into headerDecode. Malformed frames can therefore raise IndexOutOfBoundsException or NullPointerException instead of RemotingCommandException. Expected behavior: reject short frames and unknown serialize types with a controlled decode error. -- 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]
