linux/net/netfilter/ipset
Jozsef Kadlecsik 1b05756c48 netfilter: ipset: Fix warn: integer overflows 'sizeof(*map) + size * set->dsize'
Dan Carpenter reported that the static checker emits the warning

        net/netfilter/ipset/ip_set_list_set.c:600 init_list_set()
        warn: integer overflows 'sizeof(*map) + size * set->dsize'

Limit the maximal number of elements in list type of sets.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
2014-08-24 19:33:10 +02:00
..
ip_set_bitmap_gen.h netfilter: ipset: Use netlink callback dump args only 2013-10-22 10:13:59 +02:00
ip_set_bitmap_ip.c netfilter: ipset: Resolve missing-field-initializer warnings 2014-08-24 19:32:34 +02:00
ip_set_bitmap_ipmac.c netfilter: ipset: Resolve missing-field-initializer warnings 2014-08-24 19:32:34 +02:00
ip_set_bitmap_port.c netfilter: ipset: Resolve missing-field-initializer warnings 2014-08-24 19:32:34 +02:00
ip_set_core.c net: use the new API kvfree() 2014-06-05 00:49:51 -07:00
ip_set_getport.c netfilter: ipset: Support package fragments for IPv4 protos without ports 2013-09-30 21:33:26 +02:00
ip_set_hash_gen.h netfilter: ipset: Removed invalid IPSET_ATTR_MARKMASK validation 2014-08-24 19:31:34 +02:00
ip_set_hash_ip.c netfilter: ipset: Resolve missing-field-initializer warnings 2014-08-24 19:32:34 +02:00
ip_set_hash_ipmark.c netfilter: ipset: add forceadd kernel support for hash set types 2014-03-06 09:31:43 +01:00
ip_set_hash_ipport.c netfilter: ipset: Resolve missing-field-initializer warnings 2014-08-24 19:32:34 +02:00
ip_set_hash_ipportip.c netfilter: ipset: Resolve missing-field-initializer warnings 2014-08-24 19:32:34 +02:00
ip_set_hash_ipportnet.c netfilter: ipset: add forceadd kernel support for hash set types 2014-03-06 09:31:43 +01:00
ip_set_hash_net.c netfilter: ipset: add forceadd kernel support for hash set types 2014-03-06 09:31:43 +01:00
ip_set_hash_netiface.c netfilter: ipset: add forceadd kernel support for hash set types 2014-03-06 09:31:43 +01:00
ip_set_hash_netnet.c netfilter: ipset: netnet,netportnet: Fix value range support for IPv4 2014-08-24 19:32:05 +02:00
ip_set_hash_netport.c netfilter: ipset: add forceadd kernel support for hash set types 2014-03-06 09:31:43 +01:00
ip_set_hash_netportnet.c netfilter: ipset: netnet,netportnet: Fix value range support for IPv4 2014-08-24 19:32:05 +02:00
ip_set_list_set.c netfilter: ipset: Fix warn: integer overflows 'sizeof(*map) + size * set->dsize' 2014-08-24 19:33:10 +02:00
Kconfig netfilter: ipset: add hash:ip,mark data type to ipset 2014-03-06 09:31:42 +01:00
Makefile netfilter: ipset: add hash:ip,mark data type to ipset 2014-03-06 09:31:42 +01:00
pfxlen.c netfilter: Convert uses of __constant_<foo> to <foo> 2014-03-13 14:13:19 +01:00