[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.5'
octo at verplant.org
Fri Oct 3 22:15:45 CEST 2008
src/iptables.c | 8 ++++----
src/utils_ignorelist.c | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
Author: Sebastian Harl <sh at tokkee.org>
Date: Thu Oct 2 14:53:06 2008 +0200
iptables plugin, utils_ignorelist: Fixed an off-by-one error each.
Those were introduced when unifying the string handling in commit 5f9ec13b in
cases where the exact length of the string to be copied is passed to sstrncpy
instead of the size of the destination buffer.
In case of the iptables plugin this prevented the table or chain name to match
correctly as the user configuration was truncated. In case of the ignorelist a
given regex was truncated.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
More information about the collectd-changes