]> 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>
Fri, 19 Aug 2011 02:31:15 +0000 (12:31 +1000)
commite65b62d3cb113e39f16bd9a93b7cd4544a9f88e3
treeb34cd3a90c5f4488308e87202da686843c818768
parentdc0356f77e19367f792cba3304419faa5db62dad
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