NetBSD/external/bsd/libpcap
ginsbach 7ab23dde59 PR lib/51952: Brad Harder: Apply upstream ada959c9
[From upstream tcpdump]
 In pcap_compile(), first check whether the pcap_t is activated.

 Before we allocate or otherwise set up anything, check whether the
 pcap_t is activated, and set the error message string and return -1 if
 it's not.

 That way, we don't go through the cleanup code in that code path -
 there's nothing to clean up.

 Fixes the issue in GitHub pull request #552.

XXX: pullup-8
2017-08-12 00:43:25 +00:00
..
bin
dist PR lib/51952: Brad Harder: Apply upstream ada959c9 2017-08-12 00:43:25 +00:00
include we have a cloning bpf, the config test is broken 2017-01-30 13:15:15 +00:00
lib add another header file 2017-01-24 23:26:58 +00:00
libpcap2netbsd merge changes 2014-11-19 19:33:30 +00:00
Makefile