]> sigrok.org Git - libsigrok.git/commit
srzip: don't access non-existing option
authorGerhard Sittig <redacted>
Sun, 28 Jan 2018 17:58:19 +0000 (18:58 +0100)
committerGerhard Sittig <redacted>
Fri, 9 Feb 2018 20:59:18 +0000 (21:59 +0100)
commit11e3a56380a660b07a34150dcadda7723c0f65f9
treef98baa01d75ecbdd08d7068d11919255717fbfc8
parent793e9963b85b113e31732c1a9bb3249afff167b2
srzip: don't access non-existing option

The srzip output module dropped support for the "filename" option in
commit 37875f750614 on 2015-07-30, but still used to assign to slot
options[0] which clobbers the array's sentinel. Remove those accesses
to the non-existing option.
src/output/srzip.c