mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
fuzz: reset SOCKS5 interrupt between inputs
Clear the global interrupt latch before each socks5 fuzz input so corpus execution order cannot affect later inputs.
This commit is contained in:
@@ -30,6 +30,7 @@ void initialize_socks5()
|
||||
|
||||
FUZZ_TARGET(socks5, .init = initialize_socks5)
|
||||
{
|
||||
g_socks5_interrupt.reset();
|
||||
FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()};
|
||||
FakeNodeClock clock{ConsumeTime(fuzzed_data_provider)};
|
||||
FakeSteadyClock steady_clock;
|
||||
|
||||
Reference in New Issue
Block a user