tcpdump mailing list archives

Re: pcap_compile Segmentation Fault


From: Guy Harris <guy () alum mit edu>
Date: Fri, 3 Jun 2011 16:32:21 -0700


On Jun 3, 2011, at 4:18 PM, Flavio Truzzi wrote:

   handle = pcap_open_offline("aaaa.cap",errbuff);

You're missing a

        if (handle == NULL) {
                report whatever error is in errbuff;
                stop;
        }

there.  What happens after you add it?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: