Fix a use after free, where the already freed p->opt.source was used by
authorlteo <lteo@openbsd.org>
Fri, 16 Jan 2015 03:04:19 +0000 (03:04 +0000)
committerlteo <lteo@openbsd.org>
Fri, 16 Jan 2015 03:04:19 +0000 (03:04 +0000)
commitb8e7eef5304fc7c6cec220c2db9e4eedad2d5043
treef0c7d02fbbcce352c76e662695223defb0122b2f
parentdac384a83a9668679bfa96f1fafedc4aa205e8b6
Fix a use after free, where the already freed p->opt.source was used by
pcap_cleanup_bpf() to disable monitor mode on 802.11 devices.

feedback blambert@
ok deraadt@ mikeb@ millert@
lib/libpcap/pcap-bpf.c