mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-22 14:35:07 +02:00
fuzz: Limit fuzz buffer size in script_flags target
This commit is contained in:
parent
fa6b87b9ee
commit
fa71285b73
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user