diff --git a/CHANGELOG b/CHANGELOG index 345665406..bd595d9e0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,10 @@ # Nmap Changelog ($Id$); -*-text-*- +o Version 4.85BETA4 had a bug in the implementation of the new SEQ.CI + test that could cause a closed-port IP ID to be written into the + array for the SEQ.TI test and cause erroneous results. The bug was + found and fixed by Guillaume Prigent. + o Nbase has grown routines for calculating Adler32 and CRC32C checksums. [Daniel Roethlisberger] diff --git a/osscan2.cc b/osscan2.cc index f86ce0e2f..e2ca1718a 100644 --- a/osscan2.cc +++ b/osscan2.cc @@ -1826,7 +1826,7 @@ void HostOsScan::makeTSeqFP(HostOsScanStats *hss) { if (hss->ipid.tcp_closed_ipids[i] != -1) { if (good_tcp_closed_ipid_num < i) { - hss->ipid.tcp_ipids[good_tcp_closed_ipid_num] = hss->ipid.tcp_closed_ipids[i]; + hss->ipid.tcp_closed_ipids[good_tcp_closed_ipid_num] = hss->ipid.tcp_closed_ipids[i]; } good_tcp_closed_ipid_num++; }