]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9278fdb12aae5a0c54d5fc6c2afaf80b847d0b0b
tree9a79c2a4a1b4beab6d5a4056a9a6fb0d42da62d8
parent26618dfc0154d1555daf7264d30e97b0b542c983
netfilter: nfnetlink_cthelper: unbreak userspace helper support

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

Fixes: 658cc0ef1d10 ("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