summaryrefslogtreecommitdiff
path: root/package/snort/patches/patch-src_detection-plugins_sp_session_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-28 12:56:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-28 12:56:36 +0100
commit62d218c2368b3ad1e9802075cef06e3f626fb234 (patch)
tree4804f063c6e29cd1b17097324d6bd262a3c291b5 /package/snort/patches/patch-src_detection-plugins_sp_session_c
parentb3259201a158cb1a571c2a3b2976fbd7b95a4b80 (diff)
parent03c7aed5dcad2172bbe1bcd311fabb63fbf6dca0 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/snort/patches/patch-src_detection-plugins_sp_session_c')
-rw-r--r--package/snort/patches/patch-src_detection-plugins_sp_session_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/snort/patches/patch-src_detection-plugins_sp_session_c b/package/snort/patches/patch-src_detection-plugins_sp_session_c
new file mode 100644
index 000000000..8f874f5ac
--- /dev/null
+++ b/package/snort/patches/patch-src_detection-plugins_sp_session_c
@@ -0,0 +1,13 @@
+--- snort-2.8.5.1.orig/src/detection-plugins/sp_session.c 2009-08-10 22:41:45.000000000 +0200
++++ snort-2.8.5.1/src/detection-plugins/sp_session.c 2009-12-27 17:24:07.000000000 +0100
+@@ -378,8 +378,8 @@ FILE *OpenSessionFile(Packet *p)
+ return NULL;
+ }
+
+- bzero((char *)session_file, STD_BUF);
+- bzero((char *)log_path, STD_BUF);
++ memset((char *)session_file, 0, STD_BUF);
++ memset((char *)log_path, 0, STD_BUF);
+
+ /* figure out which way this packet is headed in relation to the homenet */
+ #ifdef SUP_IP6