On Tue, Apr 02, 2002 at 01:56:49PM -0500, Ebright, Don wrote:
> There appears to be a register leak in function gen_arth() in gencode.c
Yes, there is such a leak in 0.7.
It's fixed in the current CVS version. The fix in there is:
Index: gencode.c
===================================================================
RCS file: /tcpdump/master/libpcap/gencode.c,v
retrieving revision 1.160
retrieving revision 1.161
diff -c -r1.160 -r1.161
*** gencode.c 2001/11/30 07:25:48 1.160
--- gencode.c 2001/12/18 09:10:49 1.161
***************
*** 3589,3594 ****
--- 3589,3595 ----
sappend(a1->s, s0);
sappend(a0->s, a1->s);
+ free_reg(a0->regno);
free_reg(a1->regno);
s0 = new_stmt(BPF_ST);
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe