Linux: fix reading of active configuration
authorDaniel Drake <dsd@gentoo.org>
Tue, 9 Dec 2008 21:43:37 +0000 (21:43 +0000)
committerDaniel Drake <dsd@gentoo.org>
Tue, 9 Dec 2008 21:43:37 +0000 (21:43 +0000)
commit4a9ac382ba5149ae5b3d0962d6a840b5e0dc13aa
treef3014fab05464982e6506785af91a59199cadad0
parent81a7310d92461ba7b1d98aeff7c4c007fab07120
Linux: fix reading of active configuration

Shannon Chuang pointed out that we only read 1 byte into an
uninitialized integer, and then return the whole thing.
libusb/os/linux_usbfs.c