]> sigrok.org Git - libsigrok.git/commit
chronovu-la: avoid NULL pointer dereference
authorGerhard Sittig <redacted>
Thu, 8 Feb 2018 21:44:16 +0000 (22:44 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 20:34:17 +0000 (21:34 +0100)
commit755eb221565ae83d8e80e97615b84e2fff4580dd
treecd905a689c4fe25d9c155388a277800cadb2468d
parent05b0cc416fbfe95fb6440a786942a61dc1eeac52
chronovu-la: avoid NULL pointer dereference

Check pointers' validity before dereferencing them.

This was reported by clang's scan-build.
src/hardware/chronovu-la/api.c