blob: 50455ac2a981196db6e89f836c4d9c2732ded71b (
plain)
1
2
3
4
5
6
7
8
9
10
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;
}
|