- rediff patches
[packages/mutt.git] / format-security.patch
1 diff -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
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,
11                       sizeof (buf), MUTT_CLEAR) != 0 || !buf[0])
12      return (NULL);
This page took 0.065571 seconds and 3 git commands to generate.