Code

snort plugin: Add a bounady check when reading from the metrics array.
authorFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2013 07:47:51 +0000 (08:47 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2013 07:47:51 +0000 (08:47 +0100)
commit40b7e63a847baa4b11cdab40747a466946c91928
tree8c9a27019199eb0e9c5db3f8c74eeec4f47350f9
parent5f4cf918e4952271849943d3b6546cb0c1be4635
snort plugin: Add a bounady check when reading from the metrics array.

Also renamed "count" to "metrics_num" to make it clear that the two
relate to one another.
src/snort.c