(imap4d_search): Fix potential vulnerability: pass format string as a third argument to util_finish
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -196,7 +196,7 @@ imap4d_search (struct imap4d_command *command, char *arg) | ... | @@ -196,7 +196,7 @@ imap4d_search (struct imap4d_command *command, char *arg) |
196 | char buffer[64]; | 196 | char buffer[64]; |
197 | 197 | ||
198 | rc = imap4d_search0 (arg, 0, buffer, sizeof buffer); | 198 | rc = imap4d_search0 (arg, 0, buffer, sizeof buffer); |
199 | return util_finish (command, rc, buffer); | 199 | return util_finish (command, rc, "%s", buffer); |
200 | } | 200 | } |
201 | 201 | ||
202 | int | 202 | int | ... | ... |
-
Please register or sign in to post a comment