mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 16:09:02 +00:00
Handle internationalized domain names (IDN)
This commit is contained in:
@@ -125,6 +125,10 @@ NmapOps::~NmapOps() {
|
||||
free(datadir);
|
||||
datadir = NULL;
|
||||
}
|
||||
if (locale) {
|
||||
free(locale);
|
||||
locale = NULL;
|
||||
}
|
||||
|
||||
#ifndef NOLUA
|
||||
if (scriptversion || script)
|
||||
@@ -305,6 +309,7 @@ void NmapOps::Initialize() {
|
||||
numhosts_up = 0;
|
||||
numhosts_scanning = 0;
|
||||
noninteractive = false;
|
||||
locale = NULL;
|
||||
current_scantype = STYPE_UNKNOWN;
|
||||
ipoptions = NULL;
|
||||
ipoptionslen = 0;
|
||||
|
||||
Reference in New Issue
Block a user