Vasil Dimov
5a887d49b2
fuzz: avoid FuzzedSock::Recv() repeated errors with EAGAIN
...
If `recv(2)` returns an error (`-1`) and sets `errno` to a temporary
error like `EAGAIN` a proper application code is expected to retry the
operation.
If the fuzz data is exhausted, then `FuzzedSock::Recv()` will keep
returning `-1` and setting `errno` to the first element of
`recv_errnos[]` which happened to be `EAGAIN`. This may continue forever
or cause the fuzz test to run for a long time before some higher level
application "receive timeout" is triggered.
Thus, put `ECONNREFUSED` as first element of `recv_errnos[]`.
2021-03-16 13:53:26 +01:00
..
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-03 09:17:37 +01:00
2020-12-31 09:45:41 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-08 15:54:31 -05:00
2021-03-04 19:54:17 +00:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-03 09:17:37 +01:00
2020-12-31 09:45:41 +01:00
2021-03-11 13:45:14 +08:00
2021-02-22 10:27:22 +01:00
2021-03-11 13:45:14 +08:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-09 12:56:44 +01:00
2021-03-02 16:05:28 +00:00
2021-03-11 13:45:14 +08:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-01-02 15:07:07 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-15 15:27:25 +00:00
2021-03-03 09:48:07 -08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-03-15 20:50:20 +01:00
2020-12-31 09:45:41 +01:00
2021-03-11 13:45:14 +08:00
2021-03-03 09:17:37 +01:00
2021-03-03 09:17:37 +01:00
2021-02-22 10:27:22 +01:00
2021-03-11 13:45:14 +08:00
2021-03-11 13:45:14 +08:00
2021-03-11 13:45:14 +08:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-11 13:45:14 +08:00
2021-02-22 10:27:22 +01:00
2021-03-11 13:45:14 +08:00
2021-02-22 10:27:22 +01:00
2021-03-11 13:45:14 +08:00
2021-03-03 09:17:37 +01:00
2021-03-04 08:39:27 +01:00
2020-12-31 09:45:41 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-02-22 10:27:22 +01:00
2021-03-04 08:39:27 +01:00
2021-03-02 16:05:28 +00:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-23 20:04:37 +01:00
2021-03-16 13:53:26 +01:00
2021-03-15 15:42:15 +00:00