1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Remove a fingerprint parsing error that can't happen anymore.

This commit is contained in:
david
2008-06-07 03:23:52 +00:00
parent 51ae7d1f24
commit 6abba38b19

View File

@@ -940,8 +940,6 @@ FingerPrint *parse_single_fingerprint(char *fprint_orig) {
while(q > p && isspace(*(--q)))
;
if (q < p) fatal("Parse error on line %d of fingerprint: %s", lineno, nextline);
FP->OS_name = (char *) cp_alloc(q - p + 2);
memcpy(FP->OS_name, p, q - p + 1);
FP->OS_name[q - p + 1] = '\0';