1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 21:09:00 +00:00

Call CloseHandle on the hThread member of the PROCESS_INFORMATION structure we

get back from CreateProcess. We were already closing hProc but hThread has to
be closed too to avoid a handle leak. See the code example at
http://msdn.microsoft.com/en-us/library/ms682512(VS.85).aspx.
This commit is contained in:
david
2010-02-26 01:57:05 +00:00
parent 84a388aeb9
commit 480394756b

View File

@@ -2,6 +2,10 @@
[NOT YET RELEASED]
o [Ncat] Fixed a handle leak with --exec and --sh-exec on Windows,
found by Jon Greaves. One thread handle was being leaked per child
process invocation. [David]
o [NSE] nbstat.nse can now look up the MAC prefix vendor string. Other
scripts can do the same thing using the datafiles.parse_mac_prefixes
function. [Thomas Buchanan]