Commit a6cdf8a5 a6cdf8a538d1e0a5155d975715cf6b48cb8e071a by Sergey Poznyakoff

(imap4d_search): Fix potential vulnerability: pass format string as a third argument to util_finish

1 parent bb509411
......@@ -196,7 +196,7 @@ imap4d_search (struct imap4d_command *command, char *arg)
char buffer[64];
rc = imap4d_search0 (arg, 0, buffer, sizeof buffer);
return util_finish (command, rc, buffer);
return util_finish (command, rc, "%s", buffer);
}
int
......