* [COMMITTED] _dl_exception_create_format: Add missing va_end
@ 2021-05-11 4:45 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2021-05-11 4:45 UTC (permalink / raw)
To: libc-alpha
Coverity discovered a missing va_end.
---
elf/dl-exception.c | 1 +
1 file changed, 1 insertion(+)
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)
--
2.31.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-11 4:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 4:45 [COMMITTED] _dl_exception_create_format: Add missing va_end Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).