audit: fix info leak in AUDIT_GET requests
authorMathias Krause <minipli@googlemail.com>
Mon, 30 Sep 2013 20:04:24 +0000 (22:04 +0200)
committerEric Paris <eparis@redhat.com>
Tue, 5 Nov 2013 16:08:30 +0000 (11:08 -0500)
commit64fbff9ae0a0a843365d922e0057fc785f23f0e3
treee6744c5150c5a5ec1dd2ad7f198f89478f75976e
parentdb510fc5cd9b9db214d7ec1828662942fac19c8c
audit: fix info leak in AUDIT_GET requests

We leak 4 bytes of kernel stack in response to an AUDIT_GET request as
we miss to initialize the mask member of status_set. Fix that.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Cc: stable@vger.kernel.org # v2.6.6+
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c