1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

fix a couple bugs found by Jochen (voss at seehuhn.de

This commit is contained in:
fyodor
2006-11-06 02:14:35 +00:00
parent b39aa96073
commit 9a1fece75d
8 changed files with 175 additions and 67 deletions

View File

@@ -1167,7 +1167,7 @@ static void printosclassificationoutput(const struct OS_Classification_Results *
strcat(familygenerations[familyno], "|");
strncat(familygenerations[familyno],
OSR->OSC[classno]->OS_Generation,
sizeof(familygenerations[familyno]) - flen);
sizeof(familygenerations[familyno]) - flen - 1);
}
break;
}