tabish121 commented on code in PR #2672:
URL: https://github.com/apache/activemq/pull/2672#discussion_r4286956942


##########
activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java:
##########
@@ -398,10 +404,18 @@ public static String readUTF8(DataInputStream dataIn) 
throws IOException {
     }
 
     static String readUTF8(DataInputStream dataIn, int maxBufferSize) throws 
IOException {

Review Comment:
   It would actually be nice if these readUTF8 methods with limits were public 
for any code using this externally that might impose its own limits. 



-- 
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]
For further information, visit: https://activemq.apache.org/contact


Reply via email to