Wireshark-bugs: [Wireshark-bugs] [Bug 11656] extcap: abort when validating capture filter for DL
Date: Mon, 02 Nov 2015 10:09:39 +0000

Comment # 1 on bug 11656 from
This looks like a bug in libpcap.  The following test will also crash in
pcap_compile():

#include <pcap.h>

int main (int argc, char *argv[])
{
    struct bpf_program fcode;

    pcap_t *pd = pcap_open_dead (DLT_USER0, 1);
    if (pcap_compile (pd, &fcode, "tcp", 0, 0)) {
        printf ("Error: %s\n", pcap_geterr (pd));
    } else {
        printf ("Ok\n");
    }
    pcap_close (pd);

    return 0;
}


You are receiving this mail because:
  • You are watching all bug changes.