summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdevs.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2010-10-12 17:23:21 +0000
committermillert <millert@openbsd.org>2010-10-12 17:23:21 +0000
commit0b7d80bcf35aaf52efa3d792b07f452f971c2112 (patch)
treedbf967851f32d691764ad2b5e8af9a933c89fd10 /sys/dev/usb/usbdevs.h
parentsync (diff)
downloadwireguard-openbsd-0b7d80bcf35aaf52efa3d792b07f452f971c2112.tar.xz
wireguard-openbsd-0b7d80bcf35aaf52efa3d792b07f452f971c2112.zip
If the input length was specified, use it to set the stdio buffer
size for fread(). Otherwise, stdio will read as much as it can (using a very large buffer) which may cause a hang if the input comes from a blocking device such as /dev/srandom. OK deraadt@
Diffstat (limited to 'sys/dev/usb/usbdevs.h')
0 files changed, 0 insertions, 0 deletions