]> git.kernelconcepts.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>
Tue, 26 Jul 2011 10:14:42 +0000 (20:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Aug 2011 05:14:18 +0000 (15:14 +1000)
commita04ed941a6b138dcb0878f1f44a5b1b226c89e2a
treea147295cc7aa05e2e358f2be7da178e5e159531a
parent5a7f5447631e08a8076fb7a8d65174e687ff28ac
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