mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-28 22:39:27 +00:00
ARTEMIS-500 - possible index out of bounds after amqp sasl handshake
https://issues.apache.org/jira/browse/ARTEMIS-500
This commit is contained in:
parent
abe5fd609f
commit
76d937fab3
@ -171,6 +171,10 @@ public class ProtonHandlerImpl extends ProtonInitializable implements ProtonHand
|
||||
try {
|
||||
if (buffer.getByte(4) == 0x03) {
|
||||
dispatchSASL();
|
||||
/*
|
||||
* there is a chance that if SASL Handshake has been carried out that the capacity may change.
|
||||
* */
|
||||
capacity = transport.capacity();
|
||||
}
|
||||
}
|
||||
catch (Throwable ignored) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user