mirror of
https://github.com/nmap/nmap.git
synced 2026-01-18 04:19:00 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user