Message ID | 1592273581-31338-1-git-send-email-wangxidong_97@163.com |
---|---|
State | New |
Headers | show |
Series | [1/1] openvswitch: fix infoleak in conntrack | expand |
diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c index 4340f25..1b7820a 100644 --- a/net/openvswitch/conntrack.c +++ b/net/openvswitch/conntrack.c @@ -2020,6 +2020,7 @@ static int ovs_ct_limit_get_default_limit(struct ovs_ct_limit_info *info, { struct ovs_zone_limit zone_limit; int err; + memset(&zone_limit, 0, sizeof(zone_limit)); zone_limit.zone_id = OVS_ZONE_LIMIT_DEFAULT_ZONE; zone_limit.limit = info->default_limit;