]> sigrok.org Git - libsigrok.git/commit - src/input/vcd.c
input/vcd: Expand the reset() logic
authorGerhard Sittig <redacted>
Fri, 12 Oct 2018 09:07:12 +0000 (11:07 +0200)
committerUwe Hermann <redacted>
Sat, 13 Oct 2018 13:04:50 +0000 (15:04 +0200)
commit4237ab9e5ba85153b632b43b7eb2411530e11df8
tree6d81fe7bb1ce524dd75fba0a60b077bd294ee6b9
parent76f712a73f3213a7ec0a38e38302cf2f04f48976
input/vcd: Expand the reset() logic

This addresses part of bug #1306. The reset() method of the VCD input
module was incomplete, and did not process new data upon second read.
Improve robustness and add missing reset instructions. Void invalid
pointers and avoid NULL dereferences in cleanup paths.
src/input/vcd.c