reta commented on code in PR #3394:
URL: https://github.com/apache/cxf/pull/3394#discussion_r3844569034


##########
core/src/main/java/org/apache/cxf/common/util/CompressionUtils.java:
##########
@@ -26,6 +26,10 @@
 import java.util.zip.Inflater;
 
 public final class CompressionUtils {
+    // Guards against decompression-bomb style inputs that expand to an 
unbounded size on the heap
+    public static final long DEFAULT_MAX_INFLATED_SIZE =

Review Comment:
   Wondering if 10Mb is a bit small, may be we could align with 
AttachmentDeserializer#DEFAULT_ATTACHMENT_MAX_SIZE, which is 50Mb now?



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

Reply via email to