aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-05-11 09:04:29 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-05-11 09:07:56 +0530
commit81046e2812a3b41ad9a818eb42a1681bea232ce9 (patch)
treea204ad16d18f03c61579735ef8fdb53546504e02 /elf
parent1abc2fba5573205fd0669f82ffd37423a094207a (diff)
downloadglibc-81046e2812a3b41ad9a818eb42a1681bea232ce9.tar
glibc-81046e2812a3b41ad9a818eb42a1681bea232ce9.tar.gz
glibc-81046e2812a3b41ad9a818eb42a1681bea232ce9.tar.bz2
glibc-81046e2812a3b41ad9a818eb42a1681bea232ce9.zip
_dl_exception_create_format: Add missing va_end
Coverity discovered a missing va_end.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-exception.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/dl-exception.c b/elf/dl-exception.c
index 8eaad418cb..d527c1f221 100644
--- a/elf/dl-exception.c
+++ b/elf/dl-exception.c
@@ -240,6 +240,7 @@ _dl_exception_create_format (struct dl_exception *exception, const char *objname
if (len_objname != end - wptr)
length_mismatch ();
exception->objname = memcpy (wptr, objname, len_objname);
+ va_end (ap);
}
}
rtld_hidden_def (_dl_exception_create_format)