Double the buffer space for OS generations.

Jan Kaestle reported an assertion failure caused by the list growing too
long.
http://seclists.org/nmap-dev/2012/q4/273
This commit is contained in:
david 2012-11-21 01:37:30 +00:00
parent b15d8825a3
commit 2419afabbd

View file

@ -1486,7 +1486,7 @@ static void printosclassificationoutput(const struct
const char *cpes[MAX_OS_CLASSMEMBERS];
char fullfamily[MAX_OS_CLASSMEMBERS][128]; // "[vendor] [os family]"
double familyaccuracy[MAX_OS_CLASSMEMBERS]; // highest accuracy for this fullfamily
char familygenerations[MAX_OS_CLASSMEMBERS][48]; // example: "4.X|5.X|6.X"
char familygenerations[MAX_OS_CLASSMEMBERS][96]; // example: "4.X|5.X|6.X"
int numtypes = 0, numcpes = 0, numfamilies = 0;
char tmpbuf[1024];