Files
bitcoin/src/test/fuzz
Antoine Poinsot 1695c8ab5b fuzz: in FuzzedSock::GetSockName(), return a random-length name
ConsumeData() will always try to return a name as long as the requested size. It is more useful, and
closer to how `getsockname` would actually behave in reality, to return a random length name
instead.

This was hindering coverage in the PCP fuzz target as the addr len was set to the size of the
sockaddr_in struct and would exhaust all the provided data from the fuzzer.

Thanks to Marco Fleon for suggesting this.

Co-Authored-by: marcofleon <marleo23@proton.me>
2025-02-12 11:39:37 -05:00
..
2024-10-19 19:16:04 +02:00
2023-12-06 15:44:38 +01:00
2024-03-18 10:32:00 -04:00
2024-06-12 15:21:31 +02:00
2023-11-30 11:28:19 +01:00
2023-11-30 11:28:19 +01:00
2025-01-29 18:05:16 -05:00
2024-11-25 20:09:44 +01:00