ALT Linux repos
Group :: Security/Networking
RPM: hping3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: hping3-20051105-willalwaysoverflow.patch
Download
Download
--- hping3-20051105/scan.c 2003-10-22 18:41:00.000000000 +0800
+++ hping3-20051105.new/scan.c 2010-12-14 23:05:56.000000000 +0700
@@ -456,7 +456,7 @@
continue;
/* time to copy headers in a safe place */
p = packet+linkhdr_size+iphdrlen;
- memcpy(&icmp, p, sizeof(subtcp));
+ memcpy(&icmp, p, sizeof(p));
p += sizeof(icmp);
memcpy(&subip, p, sizeof(ip));
p += sizeof(ip);