]> git.karo-electronics.de Git - karo-tx-linux.git/commit
A call to va_copy() should always be followed by a call to va_end() in the
authorJesper Juhl <jj@chaosbits.net>
Wed, 24 Aug 2011 23:46:19 +0000 (09:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Sep 2011 05:16:02 +0000 (15:16 +1000)
commite46caaa4505b708b98c340a783f932f0fd9370ab
tree72c00b7ef018bec8d01fee74cbc6a668b7e89e9b
parent7b46d924e62e6abbf05ae3f96215a9b5e2ac67b4
A call to va_copy() should always be followed by a call to va_end() in the
same function.  In kernel/autit.c::audit_log_vformat() this is not always
done.  This patch makes sure va_end() is always called.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/audit.c