mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 13:19:01 +00:00
Add a fix in the calculation of the SEQ.CI test submitted by Guillaume
Prigent. The CI samples could sometimes be written into the TI array. This would happen if there were any holes in the original CI array.
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user