git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94729f8
)
netfilter: ipset: Fix warn: integer overflows 'sizeof(*map) + size * set->dsize'
author
Jozsef Kadlecsik
<kadlec@blackhole.kfki.hu>
Tue, 5 Aug 2014 20:02:34 +0000
(22:02 +0200)
committer
Jozsef Kadlecsik
<kadlec@blackhole.kfki.hu>
Sun, 24 Aug 2014 17:33:10 +0000
(19:33 +0200)
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>
No differences found