File: 12

package info (click to toggle)
procmail 3.22-27
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,128 kB
  • sloc: ansic: 9,888; sh: 1,957; makefile: 136
file content (16 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (6)
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++)