summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-02-05 13:17:37 +0000
committerdlg <dlg@openbsd.org>2016-02-05 13:17:37 +0000
commit3e8337df896f84d77115221a4d5ddd4714aa37ce (patch)
tree44527de14d1cd80f7d698095da0fbe12340d8abc /lib/libc
parentSort includes. (diff)
downloadwireguard-openbsd-3e8337df896f84d77115221a4d5ddd4714aa37ce.tar.xz
wireguard-openbsd-3e8337df896f84d77115221a4d5ddd4714aa37ce.zip
return if the bpf_if passed to bpf_tap and _bpf_mtap are NULL.
this works around a toctou bug in a very common idiom in our tree, in between the two lines below: if (ifp->if_bpf) bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_OUT); figured out by and diff from haesbart
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions