aboutsummaryrefslogtreecommitdiffstats
path: root/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2012-08-24 15:10:07 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-24 15:10:07 -0700
commita37ce7faa6d6c7355e3c6f6e09e5268cbf29c291 (patch)
treede9e60d68ae8b49135e485fc4098648ff5de8372 /libc/stdio/vfprintf.c
parent26facba288df013fd898f8df12d84e5669ece6eb (diff)
parentc7dcd67d56701a10c14019b17c9499249ab6c252 (diff)
downloadandroid_bionic-a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291.tar.gz
android_bionic-a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291.tar.bz2
android_bionic-a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291.zip
Merge "Add missing va_end() to prevent stack corruptions"
Diffstat (limited to 'libc/stdio/vfprintf.c')
-rw-r--r--libc/stdio/vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index 427fc7f94..646b6b11a 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -827,6 +827,7 @@ error:
munmap(argtable, argtablesiz);
argtable = NULL;
}
+ va_end(orgap);
return (__sferror(fp) ? EOF : ret);
/* NOTREACHED */
}