]> sigrok.org Git - libsigrok.git/commit
manson-hcs-3xxx: fix potential NULL dereference
authorGerhard Sittig <redacted>
Fri, 9 Feb 2018 18:14:31 +0000 (19:14 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 20:37:39 +0000 (21:37 +0100)
commit4072d5b42fdbafe3866584c7405023c361459a40
tree9081525d1a55f4e44e733c92d4cbe6eaca8a22f4
parentf62c2ad65d3c2e20eba512d6460c9c48e17cca08
manson-hcs-3xxx: fix potential NULL dereference

Check pointers' validity before dereferencing them.

This was reported by clang's scan-build.
src/hardware/manson-hcs-3xxx/api.c