fuzz: Limit fuzz buffer size in script_flags target

This commit is contained in:
MarcoFalke
2023-11-23 17:54:13 +01:00
parent fa6b87b9ee
commit fa71285b73

View File

@@ -12,6 +12,7 @@
FUZZ_TARGET(script_flags)
{
if (buffer.size() > 100'000) return;
DataStream ds{buffer};
try {
const CTransaction tx(deserialize, TX_WITH_WITNESS, ds);