If a BPF filter such as "ip6 protochain 60" is compiled and then set with pcap_setfilter(), the Npcap driver will reject it (in this case due to a backwards jump). When it does so, it fails to decrement a reference count on the handle so that when the handle is closed with pcap_close(), the call hangs forever waiting for some nonexistent operation to finish. The bug was introduced in the fix for #819.
If a BPF filter such as "ip6 protochain 60" is compiled and then set with
pcap_setfilter(), the Npcap driver will reject it (in this case due to a backwards jump). When it does so, it fails to decrement a reference count on the handle so that when the handle is closed with pcap_close(), the call hangs forever waiting for some nonexistent operation to finish. The bug was introduced in the fix for #819.