mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 21: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:
@@ -1,5 +1,9 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [NSE] Fixed a bug with worker threads calling the wrong destructors.
|
||||
Fixing this allows better parallelism in http-brute.nse. The problem
|
||||
was reported by Patrik Karlsson. [David, Patrick]
|
||||
|
||||
o [Zenmap] Made the topology node radiuses grow logarithmically
|
||||
instead of linearly, so that hosts with thousands of open ports
|
||||
don't overwhelm the diagram. Also only open ports (not
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user