]> 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, 3 Aug 2011 00:52:38 +0000 (10:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 10 Aug 2011 01:50:34 +0000 (11:50 +1000)
commit9ab96a9a443d62aeacb2ec52b6256f2c05966e31
tree9d744a6ace02d6fc2c89801f5edae7a1a8d52a7f
parent491b2694a81e6e66964ea02ab107abb296bc6db7
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