summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctfconv/ctfconv.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-11-07 13:25:44 +0000
committerbluhm <bluhm@openbsd.org>2019-11-07 13:25:44 +0000
commitb36fd3da6fdeba03ab8653c9455b79d1a704f7f5 (patch)
treed88a5a57128f3af36604939dfa8ed98817b7076a /usr.bin/ctfconv/ctfconv.c
parentSubstitute boolean_t/TRUE/FALSE by int/1/0. (diff)
downloadwireguard-openbsd-b36fd3da6fdeba03ab8653c9455b79d1a704f7f5.tar.xz
wireguard-openbsd-b36fd3da6fdeba03ab8653c9455b79d1a704f7f5.zip
Do propper kernel input validation for in_control() ioctl(2)
SIOCGIFADDR, SIOCGIFNETMASK, SIOCGIFDSTADDR, SIOCGIFBRDADDR, SIOCSIFADDR, SIOCSIFNETMASK, SIOCSIFDSTADDR, and SIOCSIFBRDADDR. Name in_ioctl_set_ifaddr() consistently. Use in_sa2sin() to validate inet address. Combine if_addrlist loops and add comment. Although netmask is not a inet address, length must be valid. Reported-by: syzbot+5fc6da002fc4e8d994be@syzkaller.appspotmail.com OK visa@
Diffstat (limited to 'usr.bin/ctfconv/ctfconv.c')
0 files changed, 0 insertions, 0 deletions