nmap/nsock/src
dmiller dc71d91cea Avoid crashes in Windows using poll nsock engine
WSAPoll returns WSAEINVAL when there are no valid sockets in the fdarray
parameter. Individual WSAPOLLFDs can be ignored by setting them to a
negative value (just as with POSIX poll(2)), but there must be at least
one valid (not-ignored) socket to check.

Handled this by either returning error if the error was not EINVAL, or
by checking each WSAPOLLFD in the fdarray; at the first valid one,
return the error, since this was not the reason for the error. If none
are valid, continue, ignoring the error.
2016-06-04 02:46:13 +00:00
..
acinclude.m4 Revert r33815 (unrelated changes) 2014-11-17 13:31:56 +00:00
aclocal.m4
configure Revert r33815 (unrelated changes) 2014-11-17 13:31:56 +00:00
configure.ac Revert r33815 (unrelated changes) 2014-11-17 13:31:56 +00:00
engine_epoll.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
engine_kqueue.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
engine_poll.c Avoid crashes in Windows using poll nsock engine 2016-06-04 02:46:13 +00:00
engine_select.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
error.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
error.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
filespace.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
filespace.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
gh_heap.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
gh_heap.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
gh_list.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
Makefile.in Remove some more generated files when doing a distclean. Fixes #218 2015-10-07 16:34:12 +00:00
netutils.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
netutils.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_connect.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_core.c Adjust indents to avoid confusion. Fixes #396. whitespace only. 2016-06-01 16:51:50 +00:00
nsock_engines.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_event.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_internal.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_iod.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_log.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_log.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_pcap.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_pcap.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_pool.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_proxy.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_proxy.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_read.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_ssl.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_ssl.h Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_timers.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
nsock_write.c Adjust indents to avoid confusion. Fixes #396. whitespace only. 2016-06-01 16:51:50 +00:00
proxy_http.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
proxy_socks4.c Bump date in copyright headers 2016-04-04 15:38:44 +00:00