projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef00be0
)
[patch 2/2] audit: complement va_copy with va_end()
author
Richard Knutsson
<ricknu-0@student.ltu.se>
Thu, 10 Jan 2008 19:02:40 +0000
(11:02 -0800)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:24:57 +0000
(14:24 -0500)
Complement va_copy() with va_end().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/audit.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/audit.c
b/kernel/audit.c
index b617f69fd4e87b86c6c13b7711b3e248caabaa5f..9e3e457ddfb59980327526b46078788ff0c0a47d 100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-1151,6
+1151,7
@@
static void audit_log_vformat(struct audit_buffer *ab, const char *fmt,
goto out;
len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2);
}
+ va_end(args2);
if (len > 0)
skb_put(skb, len);
out: