diff options
author | 2010-10-12 17:23:21 +0000 | |
---|---|---|
committer | 2010-10-12 17:23:21 +0000 | |
commit | 0b7d80bcf35aaf52efa3d792b07f452f971c2112 (patch) | |
tree | dbf967851f32d691764ad2b5e8af9a933c89fd10 /sys/dev/usb/usbdevs.h | |
parent | sync (diff) | |
download | wireguard-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