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
..
2025-02-12 11:39:37 -05:00
2024-12-13 14:22:25 +01:00
2024-09-13 21:59:29 -04:00
2024-12-13 14:22:25 +01:00
2024-10-19 19:16:04 +02:00
2024-12-13 14:22:25 +01:00
2024-12-02 16:25:13 -05:00
2024-10-07 13:49:36 -04:00
2025-01-15 15:44:03 +01:00
2024-12-02 13:48:04 +01:00
2024-09-18 20:03:47 +02:00
2024-12-13 14:22:25 +01:00
2024-09-04 15:04:53 -04:00
2024-09-05 17:56:54 -03:00
2024-09-21 12:37:36 +02:00
2024-08-28 15:56:15 +01:00
2024-10-26 23:44:15 +02:00
2025-01-20 17:43:58 +01:00
2025-01-22 12:40:21 -05:00
2024-12-09 17:01:10 +00:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2024-09-12 12:36:37 -04:00
2024-12-13 14:22:25 +01:00
2024-09-16 13:59:22 -04:00
2024-12-13 14:22:25 +01:00
2025-01-06 15:43:04 +00:00
2024-09-04 15:04:53 -04:00
2025-02-04 11:53:03 -05:00
2024-11-11 12:14:08 +01:00
2025-01-09 10:11:46 -05:00
2025-01-06 15:43:04 +00:00
2024-12-13 14:22:25 +01:00
2025-01-15 15:44:03 +01:00
2024-12-13 14:22:25 +01:00
2025-01-06 15:43:04 +00:00
2024-10-26 23:44:15 +02:00
2024-12-17 12:55:38 -05:00
2024-12-02 15:09:31 +01:00
2025-01-06 15:43:04 +00:00
2024-09-04 15:04:53 -04:00
2024-09-02 15:43:33 +01:00
2024-09-04 15:04:53 -04:00
2024-12-17 12:55:38 -05:00
2024-12-17 12:55:38 -05:00
2024-10-26 23:44:15 +02:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2024-09-20 16:05:28 +01:00
2024-12-13 14:22:25 +01:00
2025-01-06 15:43:04 +00:00
2025-01-15 12:16:08 +01:00
2024-09-06 09:08:10 -04:00
2024-12-13 14:22:25 +01:00
2024-12-17 12:55:38 -05:00
2025-02-07 13:55:57 -05:00
2025-02-07 13:55:57 -05:00
2025-01-29 18:05:16 -05:00
2024-12-02 08:21:32 +01:00
2024-11-25 20:09:44 +01:00
2025-01-06 15:43:04 +00:00
2025-01-06 15:43:04 +00:00
2024-12-13 14:22:25 +01:00