summaryrefslogtreecommitdiff
path: root/package/snort/patches/patch-src_mempool_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-27 23:09:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-27 23:09:19 +0100
commitdd163e09b582177ce54fae44b63b10579ee0746d (patch)
tree80f6341bacc9e62a274231157ec35a5b262f5e24 /package/snort/patches/patch-src_mempool_c
parent537a2c4eaa446e52c6ba07007eb9ae75998b5580 (diff)
fix make allmodconfig
update several packages, remove snort-wireless.
Diffstat (limited to 'package/snort/patches/patch-src_mempool_c')
-rw-r--r--package/snort/patches/patch-src_mempool_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/snort/patches/patch-src_mempool_c b/package/snort/patches/patch-src_mempool_c
new file mode 100644
index 000000000..50455ac2a
--- /dev/null
+++ b/package/snort/patches/patch-src_mempool_c
@@ -0,0 +1,11 @@
+--- snort-2.8.5.1.orig/src/mempool.c 2009-08-10 22:41:39.000000000 +0200
++++ snort-2.8.5.1/src/mempool.c 2009-12-27 17:21:21.000000000 +0100
+@@ -288,7 +288,7 @@ MemBucket *mempool_alloc(MemPool *mempoo
+
+ /* TBD -- make configurable */
+ b = li->data;
+- bzero(b->data, mempool->obj_size);
++ memset(b->data, 0, mempool->obj_size);
+
+ return b;
+ }