mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
fuzz: Limit fuzz buffer size in script_flags target
This commit is contained in:
parent
fa6b87b9ee
commit
fa71285b73
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue