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

@@ -39,6 +39,7 @@ void initialize()
FUZZ_TARGET(p2p_handshake, .init = ::initialize)
{
SeedRandomStateForTest(SeedRand::ZEROS);
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
ConnmanTestMsg& connman = static_cast<ConnmanTestMsg&>(*g_setup->m_node.connman);