]> sigrok.org Git - libsigrok.git/commit
ols: Fix stack clobbering at start of acquisition
authorBert Vermeulen <redacted>
Mon, 22 Apr 2013 11:33:31 +0000 (13:33 +0200)
committerBert Vermeulen <redacted>
Mon, 22 Apr 2013 11:33:31 +0000 (13:33 +0200)
commit2e5b73c00c7329c9b6ef7bf8f626a22884eac5c0
tree8bf9e0cac698e9af727eaad12336f661bacace0c
parent919681f0e8b4681b2af64db72abc1945f3b4adb2
ols: Fix stack clobbering at start of acquisition

This off-by-one was clobbering the stack since introduced in a803c0db4d58.
However it only set one bit, and that generally appears to have been set
already, so this rarely affected anything. But when it did, it affected
a pointer, causing a segfault.
hardware/openbench-logic-sniffer/api.c