tcpdump mailing list archives

Re: pcap_compile Segmentation Fault


From: Darren Reed <darren.reed () oracle com>
Date: Fri, 03 Jun 2011 19:35:35 -0700

On  3/06/11 04:18 PM, Flavio Truzzi wrote:
Hi, I am trying to compile a filter but I am getting a  segmentation fault,
anyone can help me out?

Code:

"
...

     handle = pcap_open_offline("aaaa.cap",errbuff);
     string filtroexp;
     filtroexp = "tcp port 80";
     pcap_compile(handle,&filtro,filtroexp.c_str(),0,0);
...
"

Thanks,


stack trace?

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


Current thread: