]> sigrok.org Git - pulseview.git/commit
DecodeSignal: Don't assume channels always have logic data
authorSoeren Apel <redacted>
Wed, 14 Jun 2017 21:37:18 +0000 (23:37 +0200)
committerUwe Hermann <redacted>
Wed, 5 Jul 2017 22:37:08 +0000 (00:37 +0200)
commit04627946bb2377d8de2f4686a4ccef7eed6710cc
tree2eae290dcc72485d89501ac724924a91eb408d80
parentccccb91439b9de48a7bcc76c6fa45d1dc166a297
DecodeSignal: Don't assume channels always have logic data

It could be that a signal was assigned to a decoder when it
had a conversion enabled, then the conversion was removed.
This means the signal may no longer provide logic data but
as it's still assigned to the decoder, it will try to access
the logic data and... boom.
pv/data/decodesignal.cpp