]> 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>
Thu, 4 Aug 2011 02:50:32 +0000 (12:50 +1000)
commit69fc9acdebe2eb6b68b2453f8c1cdf2d621d2b33
tree9498adc66de6eb206e75a8f9555ff9612288d602
parenta25cc838acc679a1a5113ce945ca5d4297ed30b4
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