Package: procmail / 3.22-24

12 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Santiago Vila <sanvila@debian.org>
Subject: Fixed off-by-one bug in procmail.c which made the raw flag not to be cleared properly
Bug-Debian: http://bugs.debian.org/134341
X-Debian-version: 3.22-3

--- a/src/procmail.c
+++ b/src/procmail.c
@@ -652,7 +652,7 @@
 	      nrcond= -1;
 	   if(tolock)		 /* clear temporary buffer for lockfile name */
 	      free(tolock);
-	   bbzero(flags,maxindex(flags));		  /* clear the flags */
+	   bbzero(flags,sizeof(flags));		  /* clear the flags */
 	   for(tolock=0,locknext=0;;)
 	    { chp=skpspace(chp);
 	      switch(i= *chp++)