Package: procmail / 3.22-25+deb9u1

14 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: Fix memory allocation bug in pipes.c
Bug-Debian: http://bugs.debian.org/171514
X-Debian-version: 3.22-5

--- a/src/pipes.c
+++ b/src/pipes.c
@@ -194,7 +194,7 @@
      makeblock(&temp,Stdfilled);
      tmemmove(temp.p,Stdout,Stdfilled);
      readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
-     Stdout=realloc(Stdout,&Stdfilled+1);
+     Stdout=realloc(Stdout,Stdfilled+1);
      tmemmove(Stdout,temp.p,Stdfilled+1);
      freeblock(&temp);
      retStdout(Stdout,pwait&&pipw,!backblock);