Snort mailing list archives

report a small bug


From: 张峥 <zhangz () risinginfo com>
Date: Fri, 09 Jul 2010 11:34:09 +0800

 At Snort-2.8.5, mempool.c has a small bug.


=========patch===============================================

diff --git a/src/mempool.c b/src/mempool.c
index 7c6b778..1aae623 100644
--- a/src/mempool.c
+++ b/src/mempool.c
@@ -89,6 +89,7 @@ int mempool_init(MemPool *mempool, PoolCount
num_objects, size_t obj_size)
return 1;

mempool->obj_size = obj_size;
+ mempool->free = 0;

/* this is the basis pool that represents all the *data pointers
in the list */
=========end==================================================

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel


Current thread: