]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netfilter: nft_exthdr: Add size check on u8 nft_exthdr attributes
authorLaura Garcia Liebana <nevola@gmail.com>
Tue, 9 Aug 2016 18:46:16 +0000 (20:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 10 Aug 2016 11:10:13 +0000 (13:10 +0200)
commit4da449ae1df9cfeb167e78f250b250eff64bc65e
tree8754751e1dbd4461306381aaefde231ec8783695
parentaa0c2c68abd1e2915656cc81afdb195bc8595dec
netfilter: nft_exthdr: Add size check on u8 nft_exthdr attributes

Fix the direct assignment of offset and length attributes included in
nft_exthdr structure from u32 data to u8.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_exthdr.c