From 061ded973d280782e7ae9a8ace3eac1684e522cb Mon Sep 17 00:00:00 2001 From: david Date: Tue, 8 Apr 2008 19:59:56 +0000 Subject: [PATCH] Allocate 128 characters for the idle scan ScanProgressMeter title. Previously it was 32 characters. The "idle scan against " and the \0 terminator take up 19 characters, leaving only 13, which isn't enough to represent all IP addresses, let alone host names. --- idle_scan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idle_scan.cc b/idle_scan.cc index 13d05c071..32c18496f 100644 --- a/idle_scan.cc +++ b/idle_scan.cc @@ -988,7 +988,7 @@ void idle_scan(Target *target, u16 *portarray, int numports, int portidx = 0; /* Used for splitting the port array into chunks */ int portsleft; time_t starttime; - char scanname[32]; + char scanname[128]; Snprintf(scanname, sizeof(scanname), "idle scan against %s", target->NameIP()); ScanProgressMeter SPM(scanname);