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)
commit278f2b3e2af5f32ea1afe34fa12a2518153e6e49
treed8984c0f78c62752b8c4112edceb1476f1da9fff
parentca0a10672dad94aa1f89645f89eb6047b7bf2a19
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