From 486856bf179ba5d765dd117932c43c1634cef74f Mon Sep 17 00:00:00 2001 From: david Date: Tue, 15 Jul 2008 05:33:33 +0000 Subject: [PATCH] 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. --- osscan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osscan.cc b/osscan.cc index 13ea231fc..fa1f31e73 100644 --- a/osscan.cc +++ b/osscan.cc @@ -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;