]> sigrok.org Git - libsigrok.git/commit
fluke-45: avoid NULL dereference in the probe routine
authorGerhard Sittig <redacted>
Sat, 3 Nov 2018 13:28:56 +0000 (14:28 +0100)
committeruser <redacted>
Sat, 10 Nov 2018 17:26:30 +0000 (18:26 +0100)
commit712f7d5e4093870fff650fb296d2425cb405a4c2
treefb2c385ef194a510b129f7f21ebb3b5409e05add
parent88c03eae8598f4faf2bdee5cc5b06bef409766dd
fluke-45: avoid NULL dereference in the probe routine

The Fluke 45 probe routine tries to detect whether the serial port is
"in echo mode" (which already is questionable before the IDN query).
In the absence of a response, the library segfaults. Fix it.
src/hardware/fluke-45/api.c