mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
procmail: update to 3.24.
This commit is contained in:
parent
b2197f0a30
commit
2ebdab7ef4
3 changed files with 4 additions and 49 deletions
|
@ -1,23 +0,0 @@
|
||||||
From: Tavis Ormandy
|
|
||||||
Subject: formail heap overflow. CVE-2014-3618
|
|
||||||
Bug-Debian: http://bugs.debian.org/704675
|
|
||||||
Bug-Debian: http://bugs.debian.org/760443
|
|
||||||
X-Debian-version: 3.22-22
|
|
||||||
|
|
||||||
--- a/src/formisc.c
|
|
||||||
+++ b/src/formisc.c
|
|
||||||
@@ -84,12 +84,11 @@
|
|
||||||
case '"':*target++=delim='"';start++;
|
|
||||||
}
|
|
||||||
;{ int i;
|
|
||||||
- do
|
|
||||||
+ while(*start)
|
|
||||||
if((i= *target++= *start++)==delim) /* corresponding delimiter? */
|
|
||||||
break;
|
|
||||||
else if(i=='\\'&&*start) /* skip quoted character */
|
|
||||||
*target++= *start++;
|
|
||||||
- while(*start); /* anything? */
|
|
||||||
}
|
|
||||||
hitspc=2;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
From: Santiago Vila <sanvila@debian.org>
|
|
||||||
Subject: Fix heap-based buffer overflow in loadbuf()
|
|
||||||
Bug-Debian: http://bugs.debian.org/876511
|
|
||||||
X-Debian-version: 3.22-26
|
|
||||||
|
|
||||||
--- a/src/formisc.c
|
|
||||||
+++ b/src/formisc.c
|
|
||||||
@@ -103,7 +103,7 @@
|
|
||||||
}
|
|
||||||
/* append to buf */
|
|
||||||
void loadbuf(text,len)const char*const text;const size_t len;
|
|
||||||
-{ if(buffilled+len>buflen) /* buf can't hold the text */
|
|
||||||
+{ while(buffilled+len>buflen) /* buf can't hold the text */
|
|
||||||
buf=realloc(buf,buflen+=Bsize);
|
|
||||||
tmemmove(buf+buffilled,text,len);buffilled+=len;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,22 +1,17 @@
|
||||||
# Template file for 'procmail'
|
# Template file for 'procmail'
|
||||||
pkgname=procmail
|
pkgname=procmail
|
||||||
version=3.22
|
version=3.24
|
||||||
revision=3
|
revision=1
|
||||||
hostmakedepends="opensmtpd"
|
hostmakedepends="opensmtpd"
|
||||||
depends="virtual?smtp-server"
|
depends="virtual?smtp-server"
|
||||||
short_desc="Autonomous mail processor"
|
short_desc="Autonomous mail processor"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2.0-or-later, Artistic-1.0-cl8"
|
license="GPL-2.0-or-later, Artistic-1.0-cl8"
|
||||||
homepage="http://www.procmail.org"
|
homepage="http://www.procmail.org"
|
||||||
distfiles="https://fossies.org/linux/misc/old/procmail-${version}.tar.gz"
|
distfiles="https://github.com/BuGlessRB/procmail/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117
|
checksum=514ea433339783e95df9321e794771e4887b9823ac55fdb2469702cf69bd3989
|
||||||
nocross="./autoconf: line 1396: ./_autotst: No such file or directory"
|
nocross="./autoconf: line 1396: ./_autotst: No such file or directory"
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
cd $wrksrc
|
|
||||||
sed -i s/getline/procmail_getline/g src/*
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} CC="$CC" CFLAGS0="${CFLAGS} ${LDFLAGS}" LOCKINGTEST=100
|
make ${makejobs} CC="$CC" CFLAGS0="${CFLAGS} ${LDFLAGS}" LOCKINGTEST=100
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue