summaryrefslogtreecommitdiff
blob: ec37824344a3ea05de9f41348ebabee132f86ccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
http://bugs.gentoo.org/show_bug.cgi?id=323613

--- pattern.c
+++ pattern.c
@@ -1310,6 +1310,7 @@
   simple = safe_strdup (buf);
   mutt_check_simple (buf, sizeof (buf), NONULL (SimpleSearch));
 
+  memset(&err, 0, sizeof(err));
   err.data = error;
   err.dsize = sizeof (error);
   if ((pat = mutt_pattern_comp (buf, M_FULL_MSG, &err)) == NULL)