From d4ec0386e4c47fbb0354387592273c080119aacd Mon Sep 17 00:00:00 2001 From: luis Date: Thu, 23 Sep 2010 06:44:51 +0000 Subject: [PATCH] Added a note about the patch in r20315 --- libpcap/NMAP_MODIFICATIONS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libpcap/NMAP_MODIFICATIONS b/libpcap/NMAP_MODIFICATIONS index f0d90b697..28e62872a 100644 --- a/libpcap/NMAP_MODIFICATIONS +++ b/libpcap/NMAP_MODIFICATIONS @@ -202,3 +202,20 @@ Index: pcap-linux.c #ifdef SO_ATTACH_FILTER o Regenerated configure. + +o Added a memset() call that removes a Valgrind error. More info at: + + +Index: pcap-linux.c +=================================================================== +--- pcap-linux.c (revision 20314) ++++ pcap-linux.c (working copy) +@@ -2148,6 +2148,7 @@ + struct sock_fprog fcode; + int can_filter_in_kernel; + int err = 0; ++ memset(&fcode, 0, sizeof(struct sock_fprog)); + #endif + + if (!handle) +