mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
o [Nbase] The checksum functions now have an nbase_ prefix. This
should prevent name collisions with internal but exported functions in shared libraries Nmap links against (e.g. adler32() in zlib). Such collisions seem to confuse the runtime linker on some platforms. [Daniel Roethlisberger]
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Nbase] The checksum functions now have an nbase_ prefix. This
|
||||
should prevent name collisions with internal but exported functions
|
||||
in shared libraries Nmap links against (e.g. adler32() in zlib).
|
||||
Such collisions seem to confuse the runtime linker on some platforms.
|
||||
[Daniel Roethlisberger]
|
||||
|
||||
o [NSE] The Nmap Script Engine has been rewritten in Lua for better
|
||||
maintainibility and improved functionality. Please see
|
||||
http://seclists.org/nmap-dev/2009/q2/0090.html and
|
||||
|
||||
@@ -2400,7 +2400,7 @@ bool HostOsScan::processT1_7Resp(HostOsScanStats *hss, struct ip *ip, int replyN
|
||||
AVs[current_testno].attribute = (char*)"RD";
|
||||
length = (int) ntohs(ip->ip_len) - 4 * ip->ip_hl -4 * tcp->th_off;
|
||||
if ((tcp->th_flags & TH_RST) && length>0) {
|
||||
sprintf(AVs[current_testno].value, "%08lX", crc32(((u8 *)tcp) + 4 * tcp->th_off, length));
|
||||
sprintf(AVs[current_testno].value, "%08lX", nbase_crc32(((u8 *)tcp) + 4 * tcp->th_off, length));
|
||||
}
|
||||
else {
|
||||
strcpy(AVs[current_testno].value, "0");
|
||||
|
||||
Reference in New Issue
Block a user