diff options
author | Ian Rogers <irogers@google.com> | 2012-08-24 15:10:07 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-08-24 15:10:07 -0700 |
commit | a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291 (patch) | |
tree | de9e60d68ae8b49135e485fc4098648ff5de8372 /libc/stdio/vfprintf.c | |
parent | 26facba288df013fd898f8df12d84e5669ece6eb (diff) | |
parent | c7dcd67d56701a10c14019b17c9499249ab6c252 (diff) | |
download | android_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.c | 1 |
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 */ } |