]> sigrok.org Git - libsigrok.git/commit
Check usb_get_port_path() return value
authorRomain Tartière <redacted>
Tue, 28 Nov 2017 19:07:29 +0000 (20:07 +0100)
committerUwe Hermann <redacted>
Wed, 21 Feb 2018 10:37:19 +0000 (11:37 +0100)
commit6c1a76d1263403f908ac31271a4fd01792488545
treeb83f7186066de190dad8c278e2f4fe2e91294aba
parent7bbe5a2b6a3cea7bc5b59ca3c34ed4f6fcf8c3b1
Check usb_get_port_path() return value

This function can fail. If so, do not ignore the failure.
17 files changed:
src/device.c
src/hardware/chronovu-la/api.c
src/hardware/dreamsourcelab-dslogic/api.c
src/hardware/dreamsourcelab-dslogic/protocol.c
src/hardware/fx2lafw/api.c
src/hardware/fx2lafw/protocol.c
src/hardware/hantek-4032l/api.c
src/hardware/hantek-6xxx/api.c
src/hardware/hantek-6xxx/protocol.c
src/hardware/hantek-dso/api.c
src/hardware/hantek-dso/protocol.c
src/hardware/lecroy-logicstudio/api.c
src/hardware/saleae-logic-pro/api.c
src/hardware/saleae-logic16/api.c
src/hardware/testo/api.c
src/hardware/victor-dmm/api.c
src/hardware/zeroplus-logic-cube/api.c