aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/fuzzers/jigs/crl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extra_tests/fuzzers/jigs/crl.cpp')
-rw-r--r--src/extra_tests/fuzzers/jigs/crl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extra_tests/fuzzers/jigs/crl.cpp b/src/extra_tests/fuzzers/jigs/crl.cpp
index be61ae131..b3157e5fe 100644
--- a/src/extra_tests/fuzzers/jigs/crl.cpp
+++ b/src/extra_tests/fuzzers/jigs/crl.cpp
@@ -9,6 +9,9 @@
void fuzz(const uint8_t in[], size_t len)
{
+ if(len > 4096)
+ return;
+
try
{
DataSource_Memory input(in, len);