Fix "Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)" warnings.
authorFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 13:27:54 +0000 (15:27 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 13:27:54 +0000 (15:27 +0200)
commit4b396ba5395402488a8fddacd361836a6b5afdd5
treed4f59cc0e5a87a60c88c2279d2c7287310c4198b
parent23ef1eef2328540d9742b7ac7f3cf192143423c1
Fix "Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)" warnings.
src/snmp.c
src/utils_db_query.c