mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 20:55:13 +02:00
quota2: fix invalid page access in cleanup function
This commit is contained in:
@@ -173,7 +173,7 @@ static void quota_mt2_destroy(const struct xt_mtdtor_param *par)
|
||||
struct xt_quota_mtinfo2 *q = par->matchinfo;
|
||||
struct xt_quota_counter *e = q->master;
|
||||
|
||||
if (*e->name == '\0') {
|
||||
if (*q->name == '\0') {
|
||||
kfree(e);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user