- rediff patches
[packages/mutt.git] / format-security.patch
CommitLineData
d26530dc
JR
1diff -urNp -x '*.orig' mutt-2.0.6.org/signature.c mutt-2.0.6/signature.c
2--- mutt-2.0.6.org/signature.c 2021-04-18 19:23:40.820045368 +0200
3+++ mutt-2.0.6/signature.c 2021-04-18 19:23:40.966713972 +0200
4@@ -290,7 +290,7 @@ static SIG_LIST *sig_search_filter (MUTT
deee428e
JR
5 char* searchBuf = menu->menu >= 0 && menu->menu < MENU_MAX ?
6 SearchBuffers[menu->menu] : NULL;
7
8- snprintf (buf, sizeof(buf), searchBuf ? searchBuf : "");
9+ snprintf (buf, sizeof(buf), "%s", searchBuf ? searchBuf : "");
10 if (mutt_get_field (_("Search for: "), buf,
d26530dc 11 sizeof (buf), MUTT_CLEAR) != 0 || !buf[0])
deee428e 12 return (NULL);
This page took 0.835682 seconds and 4 git commands to generate.