ROUTE target missing targetsize initialization
Subsystems (2)
PATCH 1/1 ROUTE target missing targetsize initialization
Targetsize field needs to be initialized.
Closes bug #490.
Phil
net/ipv4/netfilter/ipt_ROUTE.c +1 -0
@@ -436,6 +436,7 @@static struct ipt_target ipt_route_reg = { .name ="ROUTE" , .target = ipt_route_target, + .targetsize =sizeof (struct ipt_route_target_info ), .checkentry = ipt_route_checkentry, .me =THIS_MODULE , };
net/ipv6/netfilter/ip6t_ROUTE.c +1 -0
@@ -283,6 +283,7 @@static struct ip6t_target ip6t_route_reg = { .name ="ROUTE" , .target = ip6t_route_target, + .targetsize =sizeof (struct ip6t_route_target_info ), .checkentry = ip6t_route_checkentry, .me =THIS_MODULE };
Patrick McHardy
AppliedQuoted 3 lines · Phil Oester
Targetsize field needs to be initialized.
Closes bug #490.
Applied, thanks.