Increase the line buffer for reading fingerprints in osscan.cc. The latest

nmap-os-db has a fingerprint with a lot of merged options with different window
scales that was too long for the buffer.
This commit is contained in:
david 2008-07-15 05:33:33 +00:00
parent d9ad62fa60
commit 486856bf17

View file

@ -992,7 +992,7 @@ FingerPrintDB *DB = NULL;
FingerPrint *current;
FILE *fp;
int max_records = 4096;
char line[512];
char line[2048];
int numrecords = 0;
int lineno = 0;
bool parsingMatchPoints = false;