]> 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)
commit63561c6c72565af395b14bdfb418847225875e7a
treed8984c0f78c62752b8c4112edceb1476f1da9fff
parent51d6af0a6644c669a3ee9e344b71b4af28e90c1f
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