]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipt_ULOG: fix info leaks
authorMathias Krause <minipli@googlemail.com>
Mon, 30 Sep 2013 20:05:08 +0000 (22:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Oct 2013 15:28:36 +0000 (17:28 +0200)
commit9e53e3271ed98c96a424c04c929c3bb67820ab51
treed8984c0f78c62752b8c4112edceb1476f1da9fff
parent99a101e47da9fdec939f7d9d49c8f650fcda0833
netfilter: ipt_ULOG: fix info leaks

The ulog messages leak heap bytes by the means of padding bytes and
incompletely filled string arrays. Fix those by memset(0)'ing the
whole struct before filling it.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_ULOG.c