File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ FUZZ_TARGET(connman, .init = initialize_connman)
3838{
3939 FuzzedDataProvider fuzzed_data_provider{buffer.data (), buffer.size ()};
4040 SetMockTime (ConsumeTime (fuzzed_data_provider));
41- auto netgroupman{*g_setup-> m_node . netgroupman };
41+ auto netgroupman{ConsumeNetGroupManager (fuzzed_data_provider) };
4242 auto addr_man_ptr{std::make_unique<AddrManDeterministic>(netgroupman, fuzzed_data_provider, GetCheckRatio ())};
4343 if (fuzzed_data_provider.ConsumeBool ()) {
4444 const std::vector<uint8_t > serialized_data{ConsumeRandomLengthByteVector (fuzzed_data_provider)};
@@ -53,7 +53,7 @@ FUZZ_TARGET(connman, .init = initialize_connman)
5353 ConnmanTestMsg connman{fuzzed_data_provider.ConsumeIntegral <uint64_t >(),
5454 fuzzed_data_provider.ConsumeIntegral <uint64_t >(),
5555 addr_man,
56- *g_setup-> m_node . netgroupman ,
56+ netgroupman,
5757 Params (),
5858 fuzzed_data_provider.ConsumeBool ()};
5959
You can’t perform that action at this time.
0 commit comments