]> sigrok.org Git - sigrok-cli.git/commit
decode: add sanity check when mapping channels
authorWolfram Sang <redacted>
Tue, 7 Apr 2020 22:31:32 +0000 (00:31 +0200)
committerUwe Hermann <redacted>
Sat, 11 Apr 2020 14:25:11 +0000 (16:25 +0200)
commit172d2b302de1d973dd15add0184e90d336c953bc
tree515fe4664bdd8fa90141776d2f9b0aa049c3ac27
parent6129707f9f9a13ba04eb2e6017197737428fa25a
decode: add sanity check when mapping channels

We need to check for a valid channel_target pointer to handle the case
when a user missed to provide a channel name.

This fixes bug #1515.

Signed-off-by: Wolfram Sang <redacted>
decode.c