mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Remove a fingerprint parsing error that can't happen anymore.
This commit is contained in:
parent
51ae7d1f24
commit
6abba38b19
1 changed files with 0 additions and 2 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue