netfilter: ebt_ulog: fix info leaks
authorMathias Krause <minipli@googlemail.com>
Mon, 30 Sep 2013 20:05:07 +0000 (22:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Oct 2013 15:28:20 +0000 (17:28 +0200)
commitca0a10672dad94aa1f89645f89eb6047b7bf2a19
treef496c09f09049e67a9a7e7e6c73ffe6029b1c229
parentc31eeaced22ce8bd61268a3c595d542bb38c0a4f
netfilter: ebt_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/bridge/netfilter/ebt_ulog.c