Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3bce8cb606235a0f12cbf50b96f800c6aee0d244

commit 3bce8cb606235a0f12cbf50b96f800c6aee0d244
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Thu Sep 13 18:35:17 2007 +0200

asterisk-1.4.11-2-i686
added CVE-2007-4521.patch
closes #2377

diff --git a/source/apps-extra/asterisk/CVE-2007-4521.patch 
b/source/apps-extra/asterisk/CVE-2007-4521.patch
new file mode 100644
index 0000000..5dd4f7e
--- /dev/null
+++ b/source/apps-extra/asterisk/CVE-2007-4521.patch
@@ -0,0 +1,11 @@
+--- 1.4/apps/app_voicemail.c   2007/08/24 15:49:37     80749
++++ 1.4/apps/app_voicemail.c   2007/08/24 15:51:03     80750
+@@ -4421,7 +4421,7 @@
+       mail_fetchstructure (vms->mailstream,vms->msgArray[vms->curmsg],&body);
+
+       /* We have the body, now we extract the file name of the first 
attachment. */
+-      if (body->nested.part->next && 
body->nested.part->next->body.parameter->value) {
++      if (body->nested.part && body->nested.part->next && 
body->nested.part->next->body.parameter->value) {
+               attachedfilefmt = 
ast_strdupa(body->nested.part->next->body.parameter->value);
+       } else {
+               ast_log(LOG_ERROR, "There is no file attached to this IMAP 
message.\n");
diff --git a/source/apps-extra/asterisk/FrugalBuild 
b/source/apps-extra/asterisk/FrugalBuild
index c090c4f..02f65f5 100644
--- a/source/apps-extra/asterisk/FrugalBuild
+++ b/source/apps-extra/asterisk/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=asterisk
pkgver=1.4.11
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source Private Branch Exchange (PBX)."
url="http://asterisk.org/";
backup=(etc/asterisk/*)
@@ -16,9 +16,11 @@ groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://ftp.digium.com/pub/asterisk/|grep 
asterisk-[0-9\.]*tar.gz$|Flasttar"
source=(http://ftp.digium.com/pub/$pkgname/$pkgname-$pkgver.tar.gz \
-       rc.asterisk)
+       rc.asterisk \
+       CVE-2007-4521.patch)
sha1sums=('2a27155dd716bf8bd3f92fe9eee7fe82e311170c' \
-          '1c18155cdece83d556e2295b54508636ff74f307')
+          '1c18155cdece83d556e2295b54508636ff74f307' \
+          '900ec28ba2121cb996b3d62710e5606e54eadd44')

build()
{
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to