commit | a0e86bd4252519321b0d102dc4ed90557aa7bee9 | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Sun Jan 08 22:44:29 2012 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Jan 08 14:15:21 2012 -0800 |
tree | 13c3cb632dfb85ea6b9f5c20273d793a99b20f15 | |
parent | 7dd72f5189b257f927cc3b35d98643a5c392f5c3 [diff] |
audit: always follow va_copy() with va_end() 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> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>