From 81046e2812a3b41ad9a818eb42a1681bea232ce9 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 11 May 2021 09:04:29 +0530 Subject: _dl_exception_create_format: Add missing va_end Coverity discovered a missing va_end. --- elf/dl-exception.c | 1 + 1 file changed, 1 insertion(+) (limited to 'elf') 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) -- cgit v1.2.3-70-g09d2