mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Re-block the socket before sending in subprocess_thread_func. The
WSAEventSelect call we make to find out when the socket is ready for reading, also makes it non-blocking for the purpose of writing. A fast-writing process could cause a WSAEWOULDBLOCK error. This was reported by David Millis.
This commit is contained in:
parent
5e8f88194d
commit
a39c302fcc
1 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
[NOT YET RELEASED]
|
||||
|
||||
o [Ncat] Fixed an error that could make programs run with --exec exit
|
||||
prematurely on Windows. The problem was related to a program writing
|
||||
too quickly into a non-blocking socket. A symptom was the message:
|
||||
NCAT DEBUG: Subprocess ended with exit code 259.
|
||||
This was reported by David Millis. [David]
|
||||
|
||||
o [Ncat] Fixed a bug that prevented detecting EOF from stdin on
|
||||
Windows. This was reported by Adrian Crenshaw and Andy Zwirko.
|
||||
[David]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue