diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-28 14:33:32 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-29 12:22:32 +0200 |
commit | 1ae95f33cc8f276ee1f4db019d9077a606283763 (patch) | |
tree | 95171302f3477a6a6f74d4e965e294d90b608281 /test/lib/term | |
parent | 8f6be016aeacabd9a83d04b123e6bda898196ea2 (diff) | |
download | passt-1ae95f33cc8f276ee1f4db019d9077a606283763.tar passt-1ae95f33cc8f276ee1f4db019d9077a606283763.tar.gz passt-1ae95f33cc8f276ee1f4db019d9077a606283763.tar.bz2 passt-1ae95f33cc8f276ee1f4db019d9077a606283763.tar.lz passt-1ae95f33cc8f276ee1f4db019d9077a606283763.tar.xz passt-1ae95f33cc8f276ee1f4db019d9077a606283763.tar.zst passt-1ae95f33cc8f276ee1f4db019d9077a606283763.zip |
cppcheck: Suppress NULL pointer warning in tcp_sock_consume()
Recent versions of cppcheck give a warning due to the NULL buffer passed
to recv() in tcp_sock_consume(). Since this apparently works, I assume
it's actually valid, but cppcheck doesn't know that recv() can take a NULL
buffer. So, use a suppression to get rid of the error.
Also add an unmatchedSuppression suppression since only some cppcheck
versions complain about this.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/term')
0 files changed, 0 insertions, 0 deletions