mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 20:55:13 +02:00
Clear hotdrop before use
Must make sure that hotdrop is properly initialized. GCC unfortunately did not warn.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user