Package: procmail / 3.22-24

10 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: Modified mailfold.c to fix a segfault problem
X-Debian-version: 3.22-2

--- a/src/mailfold.c
+++ b/src/mailfold.c
@@ -378,7 +378,8 @@
 	dfilled=mailread=0;
      else if(rhead)				/* only read in a new header */
       { memblk new;
-	dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0);
+	dfilled=mailread=0;makeblock(&new,0);
+	readdyn(&new,&dfilled,thebody-themail.p);
 	if(tobesent>dfilled&&isprivate)		     /* put it in place here */
 	 { tmemmove(themail.p+dfilled,thebody,filled-=tobesent);
 	   tmemmove(themail.p,new.p,dfilled);