fuzz: Add missing SeedRandomStateForTest(SeedRand::ZEROS)

This commit is contained in:
MarcoFalke
2024-12-13 14:22:55 +01:00
parent 78f1bff709
commit fa7809aeab
31 changed files with 48 additions and 3 deletions

View File

@@ -2,14 +2,14 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <node/psbt.h>
#include <psbt.h>
#include <pubkey.h>
#include <script/script.h>
#include <streams.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/util/random.h>
#include <util/check.h>
#include <cstdint>
@@ -23,6 +23,7 @@ using node::PSBTInputAnalysis;
FUZZ_TARGET(psbt)
{
SeedRandomStateForTest(SeedRand::ZEROS);
FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()};
PartiallySignedTransaction psbt_mut;
std::string error;