mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Added a note about the patch in r20315
This commit is contained in:
parent
ca5254f990
commit
d4ec0386e4
1 changed files with 17 additions and 0 deletions
|
|
@ -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:
|
||||
<http://seclists.org/nmap-dev/2010/q3/796>
|
||||
|
||||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue