A few patches for seg fault and memory leak

Carter Bullard carter at qosient.com
Sat Sep 30 09:54:11 EDT 2000


Mark had a great idea into the memory leak problems
Try this simple patch to see if it doesn't improve
memory problems.  I haven't been able to test this
yet as I don't have the load that you guys can generate.

Index: ArgusUtil.c
===================================================================
RCS file: /usr/local/cvsroot/argus/server/ArgusUtil.c,v
retrieving revision 1.29
diff -r1.29 ArgusUtil.c
405c405
< #define ARGUS_MAXQSCAN  100
---
> #define ARGUS_MAXQSCAN  2048



And in dealing with a seg fault last night, this patch
is the right thing to do. 

Index: Argus_frag.c
===================================================================
RCS file: /usr/local/cvsroot/argus/server/Argus_frag.c,v
retrieving revision 1.8
diff -r1.8 Argus_frag.c
147a148
>             fragBuf->flowstr = NULL;


I'll put both of these in the next upload, which will be tomorrow.

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 17A
New York, New York  10022

carter at qosient.com
Phone +1 212 813-9426
Fax   +1 212 813-9426
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20000930/b34c14ff/attachment.html>


More information about the argus mailing list