iptables plugin, utils_ignorelist: Fixed an off-by-one error each.
authorSebastian Harl <sh@tokkee.org>
Thu, 2 Oct 2008 12:53:06 +0000 (14:53 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 3 Oct 2008 20:10:40 +0000 (22:10 +0200)
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@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>

No differences found