]> sigrok.org Git - pulseview.git/commit
TabularDecView: Prevent a race condition
authorSoeren Apel <redacted>
Fri, 3 Jul 2020 13:43:51 +0000 (15:43 +0200)
committerSoeren Apel <redacted>
Fri, 3 Jul 2020 13:43:51 +0000 (15:43 +0200)
commit6f2f5d25db4f9a674ca25e5b74caf518ecd38ff6
treed62853229925b20683c46ac0e02d430bc3599e9f
parent4ef27380afd5d75d49b811c248efb39138037ae4
TabularDecView: Prevent a race condition

When it occurs, section is -1 and we'd throw an exception.
Catch the case instead and simply ignore it.
pv/views/tabular_decoder/model.cpp