1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 18:09:01 +00:00

Reinitialize scriptargs and chosenScripts in NmapOps::Initialize.

This commit is contained in:
david
2010-02-26 21:34:13 +00:00
parent ba5e337db8
commit dc45a0b8f8

View File

@@ -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;