diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-05-14 01:47:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-16 15:38:49 -0400 |
commit | 26a5d3cc0b3d1ff23b5a94edb58226afe7f12a0c (patch) | |
tree | 046834414e20d334fc5172275a53c55d9722a714 /drivers | |
parent | 769b0daf6e18a05a6d4da94baab7edd12867350c (diff) | |
download | linux-3.10-26a5d3cc0b3d1ff23b5a94edb58226afe7f12a0c.tar.gz linux-3.10-26a5d3cc0b3d1ff23b5a94edb58226afe7f12a0c.tar.bz2 linux-3.10-26a5d3cc0b3d1ff23b5a94edb58226afe7f12a0c.zip |
netfilter: ipset: fix hash size checking in kernel
The hash size must fit both into u32 (jhash) and the max value of
size_t. The missing checking could lead to kernel crash, bug reported
by Seblu.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions