tcpdump mailing list archives

After invoking pcap_compile 15 times I get "too many registers needed to evaluate expression"


From: Thomas King <king () t-king de>
Date: Wed, 24 Oct 2007 17:44:19 +0200

Hi,
I use libpcap 0.9.7 as provided by openSuSE 10.3. The problem I face is 
exemplified in the source code I attached to this email. The source code is 
an artificially created example to pin-point the problem I have. Everything 
works create until pcap_compile is invoked the 15th times. As I call 
pcap_freecode at the end of each loop I would assume that the filter memory 
should be freed. What is wrong with my program? Or is this a bug in libpcap?

Best regards,
Thomas

Attachment: test_pcap.cpp
Description:

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: