network plugin: Check range of pkg_numval.
authorFlorian Forster <octo@collectd.org>
Fri, 18 Dec 2015 08:24:19 +0000 (09:24 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 18 Dec 2015 08:24:19 +0000 (09:24 +0100)
commit2f0eb44da35bee5a0fb62c182ff67fd155aeac25
treef9d59b387d7f89fe002c1ac0963e971ffb16b080
parent0d9a0eb065fda6f89fc597e760ae56edd47337d9
network plugin: Check range of pkg_numval.

This is essentially the same as the check using exp_size a couple lines
earlier, but that appears to be too indirect for Coverity to understand.
This hopefully fixes the resulting "tainted_data_return" errors.

CID: 48420
src/network.c