]> sigrok.org Git - libsigrok.git/commit
sr: chronovu-la8: fix segfault on discovery
authorBert Vermeulen <redacted>
Mon, 23 Jul 2012 22:50:02 +0000 (00:50 +0200)
committerBert Vermeulen <redacted>
Mon, 23 Jul 2012 22:53:01 +0000 (00:53 +0200)
commitd67b663e21de64261847c7e68de3ba37883c48b7
tree8731310f23259ca79ef6890bdcda25ec089e962f
parent74e5f12d3d9643cb0e8ba57ced4ee80b6393cb11
sr: chronovu-la8: fix segfault on discovery

If the uninitialized value didn't happen to contain 0, and there
is no Chronovu LA8 connected, the la8_close() causes a segfault
in libftdi.
hardware/chronovu-la8/api.c