Page MenuHomePhabricator

fuzz: Add fuzzing harness for Socks5(...)
AcceptedPublic

Authored by PiRK on Thu, Nov 14, 11:31.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

This is a backport of core#19203, core#21328, core#20812 (for PickValueInArray((const std::array<T, size> &array)) and core#21371

with changes from:

Test Plan

ninja bitcoin-fuzzers

Event Timeline

PiRK requested review of this revision.Thu, Nov 14, 11:31
Fabien requested changes to this revision.Thu, Nov 14, 13:17
Fabien added a subscriber: Fabien.

I think the backports are not correct for this diff, none of the netbase changes are from the listed commits afaict

This revision now requires changes to proceed.Thu, Nov 14, 13:17

I missed the main one: core#19203
I added it to the summary

PiRK requested review of this revision.Thu, Nov 14, 13:34
src/test/fuzz/util.h
582

Is that still used ?

src/test/fuzz/util.h
582

It is still used, yes. i2p.cpp has it for example (if (m_control_sock->Get() != INVALID_SOCKET))

It will be removed in core#26312

This revision is now accepted and ready to land.Thu, Nov 14, 14:05