Vasiliy Kulikov 961ed183a9 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>
2011-03-20 15:42:52 +01:00
..
2011-03-12 15:08:49 -08:00
2011-03-12 15:08:49 -08:00
2011-03-12 15:08:49 -08:00
2010-10-25 13:09:45 -07:00
2011-01-14 13:36:42 +01:00
2010-02-22 16:20:22 -08:00
2011-03-12 15:08:49 -08:00
2011-02-01 15:35:25 -08:00
2011-02-01 15:35:25 -08:00
2011-03-15 18:53:54 -07:00
2011-02-21 11:31:18 -08:00
2010-10-27 11:37:32 -07:00
2010-07-12 12:57:54 -07:00