]> sigrok.org Git - libsigrok.git/commit
input/saleae: reduce the format match routine's greed
authorGerhard Sittig <redacted>
Sun, 14 Jun 2020 12:26:57 +0000 (14:26 +0200)
committerGerhard Sittig <redacted>
Fri, 24 Jul 2020 16:40:38 +0000 (18:40 +0200)
commit9084c39608bd7b18349fdc5e03d42ff4f5112513
treeb8d49c1d574fa6a5bae961fcf8551ed14262244f
parentd891892dc05df8ce33fcadf4a123a83e17b5d620
input/saleae: reduce the format match routine's greed

Only return OK from the format match routine when either of the tested
conditions reliably matched. Return an error in all other cases. This
avoids that the Saleae module is "winning a contest" due to even the
weakest condition, and then is not able to handle the input file.
src/input/saleae.c