diff options
Diffstat (limited to 'src/extra_tests/fuzzers/jigs/os2ecp.cpp')
-rw-r--r-- | src/extra_tests/fuzzers/jigs/os2ecp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extra_tests/fuzzers/jigs/os2ecp.cpp b/src/extra_tests/fuzzers/jigs/os2ecp.cpp index 2b939eb5b..61ce1bd7b 100644 --- a/src/extra_tests/fuzzers/jigs/os2ecp.cpp +++ b/src/extra_tests/fuzzers/jigs/os2ecp.cpp @@ -18,6 +18,9 @@ void check_os2ecp(const EC_Group& group, const uint8_t in[], size_t len) void fuzz(const uint8_t in[], size_t len) { + if(len >= 256) + return; + static EC_Group p192("secp192r1"); static EC_Group p224("secp224r1"); static EC_Group p256("secp256r1"); |