From f587e7e7643b3379d43d0fde1c9b923df7a13250 Mon Sep 17 00:00:00 2001 From: YoungJules Date: Fri, 8 May 2026 10:04:56 +0200 Subject: [PATCH] Small fixup for vulnerability (uncontrolled format string) reported by CodeQL --- client/src/cmddata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmddata.c b/client/src/cmddata.c index 064f5b971..6c5cf662f 100644 --- a/client/src/cmddata.c +++ b/client/src/cmddata.c @@ -3058,7 +3058,7 @@ static int CmdDiff(const char *Cmd) { PrintAndLogEx(INFO, ""); PrintAndLogEx(INFO, hdr1); - PrintAndLogEx(INFO, hdr0); + PrintAndLogEx(INFO, "%s", hdr0); PrintAndLogEx(INFO, hdr1); char line[880] = {0};