]> sigrok.org Git - libsigrok.git/commitdiff
hp-3478a: avoid NULL dereference in config API routines
authorGerhard Sittig <redacted>
Mon, 28 Jun 2021 05:34:23 +0000 (07:34 +0200)
committerGerhard Sittig <redacted>
Mon, 28 Jun 2021 05:34:23 +0000 (07:34 +0200)
The 'sdi' parameter to config API calls can be NULL. Only dereference
after checking its validity.

Reported-By: Alexandre Ferreira <redacted>

No differences found