projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
2bb4878
)
am7xxx: check the return value of libusb_get_configuration()
author
Antonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 15:09:19 +0000
(17:09 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 16:03:55 +0000
(18:03 +0200)
libusb_get_configuration() can still fail after the device has been
opened, so check its actual return value before trusting the returned
current_configuration.
No differences found