Update libEpollFuzzer, uSockets
This commit is contained in:
@@ -99,7 +99,7 @@ void teardown() {
|
|||||||
/* If we are called twice there's a bug (it potentially could if
|
/* If we are called twice there's a bug (it potentially could if
|
||||||
* all open sockets cannot be error-closed in one epoll_wait call).
|
* all open sockets cannot be error-closed in one epoll_wait call).
|
||||||
* But we only allow 1k FDs and we have a buffer of 1024 from epoll_wait */
|
* But we only allow 1k FDs and we have a buffer of 1024 from epoll_wait */
|
||||||
if (!listen_socket) {
|
if (!listen_socket && !client) {
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -110,7 +110,8 @@ void teardown() {
|
|||||||
|
|
||||||
/* We might have open sockets still, and these will be error-closed by epoll_wait */
|
/* We might have open sockets still, and these will be error-closed by epoll_wait */
|
||||||
// us_socket_context_close - close all open sockets created with this socket context
|
// us_socket_context_close - close all open sockets created with this socket context
|
||||||
|
if (listen_socket) {
|
||||||
us_listen_socket_close(0, listen_socket);
|
us_listen_socket_close(0, listen_socket);
|
||||||
listen_socket = NULL;
|
listen_socket = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
Submodule fuzzing/libEpollFuzzer updated: 02dd669dfd...79cce7ca47
+1
-1
Submodule uSockets updated: 42bdf7fbd2...c49ea94c11
Reference in New Issue
Block a user