]> 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>
Mon, 1 Aug 2011 03:36:29 +0000 (13:36 +1000)
commit718df35c30158eacfebf022c20a857d34a0b0eae
tree1f722b7584c3a0374a9d588f14c4cbd65d9b905f
parent869257c6efc771cf3aba3b955c00eaa3a4122f78
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