netfilter: nfnetlink_cthelper: unbreak userspace helper support
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 24 May 2020 19:04:42 +0000 (21:04 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 May 2020 18:39:14 +0000 (20:39 +0200)
commit703acd70f2496537457186211c2f03e792409e68
tree9a79c2a4a1b4beab6d5a4056a9a6fb0d42da62d8
parentee04805ff54a63ffd90bc6749ebfe73473734ddb
netfilter: nfnetlink_cthelper: unbreak userspace helper support

Restore helper data size initialization and fix memcopy of the helper
data size.

Fixes: 157ffffeb5dc ("netfilter: nfnetlink_cthelper: reject too large userspace allocation requests")
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_cthelper.c