mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Reinitialize scriptargs and chosenScripts in NmapOps::Initialize.
This commit is contained in:
parent
ba5e337db8
commit
dc45a0b8f8
1 changed files with 2 additions and 0 deletions
|
|
@ -302,9 +302,11 @@ void NmapOps::Initialize() {
|
|||
topportlevel = -1;
|
||||
#ifndef NOLUA
|
||||
script = 0;
|
||||
scriptargs = NULL;
|
||||
scriptversion = 0;
|
||||
scripttrace = 0;
|
||||
scriptupdatedb = 0;
|
||||
chosenScripts.clear();
|
||||
#endif
|
||||
memset(&sourcesock, 0, sizeof(sourcesock));
|
||||
sourcesocklen = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue