libsigrok/hardware
Daniel Thompson fbf07e0209 agilent-dmm: Fix SEGV during incomplete reply from meter.
If buf contains exactly the string "Agilent Technologies" (for example if
there are bugs in the timeout logic or serial driver causing the reply from
the meter to be abridged) then this code will SEGV. This is because tokens[1]
is NULL but only tokens[2] and tokens[3] (both of which are undefined) are
NULL checked.

Can be trivially corrected by NULL checking tokens[1] as well.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2013-10-04 13:30:49 +02:00
..
agilent-dmm agilent-dmm: Fix SEGV during incomplete reply from meter. 2013-10-04 13:30:49 +02:00
alsa alsa: Fix double-free issue. 2013-08-07 16:21:56 +02:00
asix-sigma Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
brymen-dmm s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
cem-dt-885x Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
center-3xx center-3xx: Initial Center 309 / Voltcraft K204 support. 2013-08-08 19:59:49 +02:00
chronovu-la8 s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
colead-slm Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
common serial: Only sleep when no characters are received. 2013-09-26 14:57:37 +02:00
demo demo: Use std_dev_clear(). 2013-06-02 16:57:07 +02:00
fluke-dmm Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
fx2lafw s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
hantek-dso Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
ikalogic-scanalogic2 Cosmetics, typos. 2013-08-07 16:21:57 +02:00
ikalogic-scanaplus Consistent use of "IKALOGIC" spelling. 2013-08-07 16:21:57 +02:00
kecheng-kc-330b Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
lascar-el-usb Various cosmetics, whitespace, consistency fixes. 2013-07-31 13:09:48 +02:00
link-mso19 ols/link-mso19: Consistency fixes. 2013-06-02 17:03:40 +02:00
mic-985xx s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
openbench-logic-sniffer ols: fixed demux mode disable noise filter 2013-09-07 20:17:16 +02:00
rigol-ds1xx2 rigol-ds1xx2: newer Linux kernels have USBTMC in /sys/class/usbmisc 2013-08-30 13:57:45 +02:00
saleae-logic16 saleae-logic16: Drop unneeded NUM_PROBES. 2013-08-21 11:41:21 +02:00
serial-dmm Voltcraft VC-830: Fix diode mode handling. 2013-09-01 15:27:21 +02:00
tondaj-sl-814 s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
uni-t-dmm Voltcraft VC-830: Fix diode mode handling. 2013-09-01 15:27:21 +02:00
uni-t-ut32x uni-t-ut32x: Shorten dev_list(). 2013-09-25 14:26:35 +02:00
victor-dmm s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
zeroplus-logic-cube s/clear_instances/dev_clear/. 2013-06-02 16:56:41 +02:00
Makefile.am saleae-logic16: Initial driver skeleton. 2013-08-20 19:55:22 +02:00