summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2008-07-28 20:49:28 +0000
committerfgsch <fgsch@openbsd.org>2008-07-28 20:49:28 +0000
commit5e3dc8f8338bcf21dc8909030473022b5b5f85d1 (patch)
treec2505130bdc27bb1ba626c297f8998fea033f6f5 /lib
parentsome SEE ALSO fixes; (diff)
downloadwireguard-openbsd-5e3dc8f8338bcf21dc8909030473022b5b5f85d1.tar.xz
wireguard-openbsd-5e3dc8f8338bcf21dc8909030473022b5b5f85d1.zip
When getting the string descriptors, fetch 2 bytes (size and type) first,
and then the whole string based on the returned size, not just one byte. The Lexar card reader kindly loaned by Denis Doroshenko (denis dot doroshenko at gmail.com) it's happy now, and after further inspection it's what other OSs do. Discussed with yuo@. krw@ yuo@ ok.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions