projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pinctrl-v5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6-microblaze.git]
/
net
/
netfilter
/
xt_RATEEST.c
diff --git
a/net/netfilter/xt_RATEEST.c
b/net/netfilter/xt_RATEEST.c
index
37253d3
..
0d5c422
100644
(file)
--- a/
net/netfilter/xt_RATEEST.c
+++ b/
net/netfilter/xt_RATEEST.c
@@
-115,6
+115,9
@@
static int xt_rateest_tg_checkentry(const struct xt_tgchk_param *par)
} cfg;
int ret;
+ if (strnlen(info->name, sizeof(est->name)) >= sizeof(est->name))
+ return -ENAMETOOLONG;
+
net_get_random_once(&jhash_rnd, sizeof(jhash_rnd));
mutex_lock(&xn->hash_lock);