summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bpe.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-11-06 14:51:22 +0000
committerflorian <florian@openbsd.org>2019-11-06 14:51:22 +0000
commit55a58ba7f67016513c99b98723ba9a9cfa9a9477 (patch)
treebf1ee2960ad37e54fc429cb9c138bc777e37883b /sys/net/if_bpe.c
parentRename "asr" to "stub" in user visible parts. (diff)
downloadwireguard-openbsd-55a58ba7f67016513c99b98723ba9a9cfa9a9477.tar.xz
wireguard-openbsd-55a58ba7f67016513c99b98723ba9a9cfa9a9477.zip
Fix RTA_DNS checks:
Do not overwrite the address family, we need to know if this is IPv4 or IPv6 to parse the message. Nameservers are IP addresses, not NUL-terminated strings. Check that the length is a multiple of the length of an IP address. OK krw
Diffstat (limited to 'sys/net/if_bpe.c')
0 files changed, 0 insertions, 0 deletions