From fd9c6ffb039948641372f1841dee94aef2fa8991 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 24 Aug 2008 16:44:07 -0400 Subject: [PATCH] Clear hotdrop before use Must make sure that hotdrop is properly initialized. GCC unfortunately did not warn. --- extensions/compat_xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/compat_xtables.c b/extensions/compat_xtables.c index c86ce0e..8e05b87 100644 --- a/extensions/compat_xtables.c +++ b/extensions/compat_xtables.c @@ -36,7 +36,7 @@ static int xtnu_match_run(const struct sk_buff *skb, unsigned int protoff, int *hotdrop) { struct xtnu_match *nm = xtcompat_numatch(cm); - bool lo_drop, lo_ret; + bool lo_drop = false, lo_ret; if (nm == NULL || nm->match == NULL) return false;