dcapwell commented on code in PR #3815:
URL: https://github.com/apache/cassandra/pull/3815#discussion_r1926082826


##########
src/java/org/apache/cassandra/transport/CBUtil.java:
##########
@@ -162,6 +166,8 @@ public static void writeAsciiString(String str, ByteBuf cb)
     public static void writeString(String str, ByteBuf cb)
     {
         int length = TypeSizes.encodedUTF8Length(str);
+        Preconditions.checkArgument(length <= Short.MAX_VALUE,

Review Comment:
   this is going to be trunk only, to make sure i don't make released branches 
unstable i left this out of the backports



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to