From b1bb07a89c0b3afaaa8ebcb51e2acca6ea76d654 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 29 Jan 2020 06:13:41 +0000 Subject: [PATCH] Pageant: fix dupprintf/dupvprintf error. This mistake was introduced very recently, in commit de38a4d82.. --- pageant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageant.c b/pageant.c index f76f7f62..7cf9fdfc 100644 --- a/pageant.c +++ b/pageant.c @@ -317,7 +317,7 @@ static PRINTF_LIKE(4, 5) void failure(PageantClient *pc, if (!pc->suppress_logging) { va_list ap; va_start(ap, fmt); - char *msg = dupprintf(fmt, ap); + char *msg = dupvprintf(fmt, ap); va_end(ap); pageant_client_log(pc, reqid, "reply: SSH_AGENT_FAILURE (%s)", msg); sfree(msg);