libsigrok/hardware/common
Alexandru Gagniuc 47eda193b2 rs9lcd: Fix segfault with unusual modes.
Some unusual modes required re-parsing the value. Instead of assigning the
re-parsed value to *floatval, it was reassigned directly to *analog->data;
however, analog->data is not initialized at this point, causing a segfault.
This situation was created when moving the radioshack-dmm code to serial-dmm,
with the segfault not being observed at that time.

Do not write directly to analog->data, but instead use the intermediate
variable rawval.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-25 23:43:30 +01:00
..
dmm rs9lcd: Fix segfault with unusual modes. 2012-12-25 23:43:30 +01:00
Makefile.am genericdmm: Factor out USB functions. 2012-11-03 00:02:56 +01:00
ezusb.c hardware: A few further USB error message fixups 2012-12-05 01:34:15 +01:00
serial.c serial: more debug cleanup 2012-12-24 11:22:01 +01:00
usb.c usb: strip overly verbose debugging 2012-12-15 04:07:25 +01:00