summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2007-03-17 22:28:58 +0000
committerclaudio <claudio@openbsd.org>2007-03-17 22:28:58 +0000
commita36fe386d7eba8ba8fabb8640e5d40278f97e6c3 (patch)
treea84d54ad0ee0bc59157e9700dcd009a244bc8c47 /sys/dev/usb/uhub.c
parentmove some elements in the relay imsg ctl structures (just for the style) (diff)
downloadwireguard-openbsd-a36fe386d7eba8ba8fabb8640e5d40278f97e6c3.tar.xz
wireguard-openbsd-a36fe386d7eba8ba8fabb8640e5d40278f97e6c3.zip
Exchange a strlcpy() with a strncpy(). A similar change was done in parse.y
some time ago. The simple password needs to be nul extended and is allowed to fill the full buffer the perfect job for stncpy(). Found and tested by Jon Morby.
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions