fuzz: Limit fuzz buffer size in script_flags target

This commit is contained in:
MarcoFalke committed 2023-11-23 17:56:52 +01:00
1 parent fa6b87b9ee
commit fa71285b73
1 file changed
+1
+1
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);