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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user