mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Set the close_handlers member in worker Thread objects. The lack of this caused
them to use the close_handlers table of the parent thread that spawned them instead. See http://seclists.org/nmap-dev/2010/q3/804 for more details.
This commit is contained in:
parent
d4ec0386e4
commit
4a4e67bd2c
2 changed files with 5 additions and 0 deletions
|
|
@ -692,6 +692,7 @@ local function run (threads, scantype)
|
|||
type = current.type,
|
||||
parent = current.parent,
|
||||
info = format("'%s' worker (%s)", current.short_basename, tostring(co));
|
||||
close_handlers = {},
|
||||
-- d = function(...) end, -- output no debug information
|
||||
};
|
||||
local thread_mt = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue