summaryrefslogtreecommitdiffstats
path: root/fs/nls/nls_iso8859-7.c
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2011-03-20 15:42:52 +0100
committerPatrick McHardy <kaber@trash.net>2011-03-20 15:42:52 +0100
commit961ed183a9fd080cf306c659b8736007e44065a5 (patch)
tree7bf0a65c184a2c4fc0571ff9af8ce633efc73bcf /fs/nls/nls_iso8859-7.c
parentdb856674ac69e31946e56085239757cca3f7655f (diff)
downloadtalos-op-linux-961ed183a9fd080cf306c659b8736007e44065a5.tar.gz
talos-op-linux-961ed183a9fd080cf306c659b8736007e44065a5.zip
netfilter: ipt_CLUSTERIP: fix buffer overflow
'buffer' string is copied from userspace. It is not checked whether it is zero terminated. This may lead to overflow inside of simple_strtoul(). Changli Gao suggested to copy not more than user supplied 'size' bytes. It was introduced before the git epoch. Files "ipt_CLUSTERIP/*" are root writable only by default, however, on some setups permissions might be relaxed to e.g. network admin user. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Acked-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'fs/nls/nls_iso8859-7.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud