mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +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:
parent
84a388aeb9
commit
480394756b
1 changed files with 4 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue