summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_helper.c
diff options
context:
space:
mode:
authorAntoine Tenart <atenart@kernel.org>2022-04-12 10:14:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 09:34:12 +0200
commit96aceacda8d2102ff40c04bd0dd70901e96558db (patch)
tree1bf81550ca43ac9ca0a93136c47ca9c0cc098cdb /net/netfilter/xt_helper.c
parent90c153ca45da86342e1b5105bce1a96ab4f603e2 (diff)
downloadlinux-stable-96aceacda8d2102ff40c04bd0dd70901e96558db.tar.gz
linux-stable-96aceacda8d2102ff40c04bd0dd70901e96558db.tar.bz2
linux-stable-96aceacda8d2102ff40c04bd0dd70901e96558db.zip
netfilter: nf_tables: nft_parse_register can return a negative value
[ Upstream commit 6c6f9f31ecd47dce1d0dafca4bec8805f9bc97cd ] Since commit 6e1acfa387b9 ("netfilter: nf_tables: validate registers coming from userspace.") nft_parse_register can return a negative value, but the function prototype is still returning an unsigned int. Fixes: 6e1acfa387b9 ("netfilter: nf_tables: validate registers coming from userspace.") Signed-off-by: Antoine Tenart <atenart@kernel.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netfilter/xt_helper.c')
0 files changed, 0 insertions, 0 deletions