mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 08:41:32 +00:00
afl-network-client fix
This commit is contained in:
parent
efa9df24c2
commit
16f9cc7369
@ -287,7 +287,7 @@ int main(int argc, char *argv[]) {
|
|||||||
FATAL("did not receive waitpid data (%d, %d)", received, ret);
|
FATAL("did not receive waitpid data (%d, %d)", received, ret);
|
||||||
// fprintf(stderr, "Received status\n");
|
// fprintf(stderr, "Received status\n");
|
||||||
|
|
||||||
int received = 0;
|
received = 0;
|
||||||
while (received < __afl_map_size &&
|
while (received < __afl_map_size &&
|
||||||
(ret = recv(s, __afl_area_ptr + received, __afl_map_size - received,
|
(ret = recv(s, __afl_area_ptr + received, __afl_map_size - received,
|
||||||
0)) > 0)
|
0)) > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user