You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.nio.BufferOverflowException
at java.base/java.nio.Buffer.nextPutIndex(Buffer.java:722)
at java.base/java.nio.DirectByteBuffer.put(DirectByteBuffer.java:359)
at com.teragrep.rlp_01.RelpParser.parse(RelpParser.java:135)
at com.teragrep.rlp_01.RelpConnection.readAcks(RelpConnection.java:257)
at com.teragrep.rlp_01.RelpConnection.sendBatch(RelpConnection.java:235)
at com.teragrep.rlp_01.RelpConnection.connect(RelpConnection.java:159)
at com.teragrep.rlp_01.ConnectionTest.testInvalidReply(ConnectionTest.java:64)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
when server answers just
"200 OK\ncommands=syslog\n";
Note that it is missing the header frame completely
The text was updated successfully, but these errors were encountered:
StrongestNumber9
changed the title
Server sending invalid commands can cause BufferOverflowExceptions
RelpParser.java does not sanity check TxId / Command / Length sizes
Oct 11, 2023
causes
when server answers just
"200 OK\ncommands=syslog\n";
Note that it is missing the header frame completely
The text was updated successfully, but these errors were encountered: