Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cccbe5ef authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David S. Miller
Browse files

netfilter: ip6_tables: fix information leak to userspace

parent 758cb411
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1137,6 +1137,7 @@ static int get_info(struct net *net, void __user *user,
			private = &tmp;
		}
#endif
		memset(&info, 0, sizeof(info));
		info.valid_hooks = t->valid_hooks;
		memcpy(info.hook_entry, private->hook_entry,
		       sizeof(info.hook_entry));