summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uts.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2007-05-27 03:19:15 +0000
committerray <ray@openbsd.org>2007-05-27 03:19:15 +0000
commitdbb07f5af48c56df7fde21b8cdb63e64a122ac37 (patch)
tree21f5bc03456f1645ac81b757dc3607a216cbb972 /sys/dev/usb/uts.c
parentsync (diff)
downloadwireguard-openbsd-dbb07f5af48c56df7fde21b8cdb63e64a122ac37.tar.xz
wireguard-openbsd-dbb07f5af48c56df7fde21b8cdb63e64a122ac37.zip
Prevent buf[-1] access if strlen(buf) == 0.
Simplify some if-else statements while here. OK grunk@ and tedu@.
Diffstat (limited to 'sys/dev/usb/uts.c')
0 files changed, 0 insertions, 0 deletions