Skip to content

Commit

Permalink
Tune down JsonTemplateLayoutCodecFuzzer limits
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Oct 1, 2024
1 parent 1e3223c commit 2e9a659
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public final class JsonTemplateLayoutCodecFuzzer {
// 2. Short enough to avoid stack overflows, which are interpreted as fuzzer failures, though they are not.
// Consider a JSON document containing more than 1024 nested objects.
// This triggers a stack overflow, which is expected, hence nothing to signal.
private static final int MAX_STRING_LENGTH = 1024;
public static final int MAX_STRING_LENGTH = 512;

public static void fuzzerTestOneInput(final FuzzedDataProvider dataProvider) {
final boolean encodeFirst = dataProvider.consumeBoolean();
Expand Down

0 comments on commit 2e9a659

Please sign in to comment.