]> sigrok.org Git - libsigrok.git/commit
output/csv: silence NULL dereference compiler warnings
authorGerhard Sittig <redacted>
Thu, 8 Feb 2018 21:04:49 +0000 (22:04 +0100)
committerGerhard Sittig <redacted>
Fri, 9 Feb 2018 19:52:26 +0000 (20:52 +0100)
commita21fef07b65ef6fb77ac2b6a96de51177a84302a
treeebb300320fbb6ef95d9bf48f9f3224f3cb7f0718
parent603643fa71d5f3523e81bbda079eeebbeaeb2273
output/csv: silence NULL dereference compiler warnings

Check pointers' validity before dereferencing them.

This was reported by clang's scan-build.
src/output/csv.c