summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/regex.cpp
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2018-07-11 18:06:25 +0000
committerkn <kn@openbsd.org>2018-07-11 18:06:25 +0000
commit50e3c2fee82e11be496cc1550879bffa59ff1468 (patch)
tree76f01da074d3de60b60e20e3094091659c1d312c /lib/libcxx/src/regex.cpp
parentadding __func__ identifier to panic() calls in vmm.c for amd64 and i386 (diff)
downloadwireguard-openbsd-50e3c2fee82e11be496cc1550879bffa59ff1468.tar.xz
wireguard-openbsd-50e3c2fee82e11be496cc1550879bffa59ff1468.zip
Prevent invalid interface specifiers on queue rules
pf.conf(5) states that queues attach to actual interfaces only, yet the following parses: # echo queue eq on egress bandwidth 1G default | pfctl -f- # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor # echo queue rq on rdomain 0 bandwidth 1G default | pfctl -vf- queue rq bandwidth 1G default # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor On rdomains, ifa_exists() returns NULL. On interface groups, ifa_exists() returns non-NULL but af is never set to AF_LINK. OK henning sashan
Diffstat (limited to 'lib/libcxx/src/regex.cpp')
0 files changed, 0 insertions, 0 deletions