mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
4d6d9eef1d
commit
061ded973d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue