From 2a10eee03b62290d3e2f893ff9b5a48cb0cf0b66 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Tue, 21 Mar 2023 19:58:16 -0700 Subject: [PATCH] Fix #959: increase initial max-string-len default from 1M to 5M --- release-notes/VERSION-2.x | 2 +- .../com/fasterxml/jackson/core/StreamReadConstraints.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 892f7ff798..3d6f4e42d6 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -25,7 +25,7 @@ JSON library. faster `BigDecimal`, `BigInteger` parsing (contributed by @pjfanning) #863: Add `StreamReadConstraints` limit for longest textual value to - allow (default: 1M) + allow (default: 5M) (contributed by @pjfanning) #865: Optimize parsing 19 digit longs (contributed by Phillipe M) diff --git a/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java b/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java index e9939027af..584b51e8db 100644 --- a/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java +++ b/src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java @@ -14,7 +14,7 @@ *