Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-0.6;a=darcs_commitdiff;h=20070916193623-e2957-9cf1f23375e6ac19cf9a53f69c0ec4236cc69a6b.gz;
[asterisk-1.4.8-1terminus2-i686 VMiklos <[EMAIL PROTECTED]>**20070916193623 added CVE-2007-4521.patch closes #2377 ] { addfile ./source/apps-extra/asterisk/CVE-2007-4521.patch hunk ./source/apps-extra/asterisk/CVE-2007-4521.patch 1 +--- 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"); hunk ./source/apps-extra/asterisk/FrugalBuild 7 -pkgrel=1terminus1 +pkgrel=1terminus2 hunk ./source/apps-extra/asterisk/FrugalBuild 19 - rc.asterisk) + rc.asterisk \ + CVE-2007-4521.patch) hunk ./source/apps-extra/asterisk/FrugalBuild 22 - '1c18155cdece83d556e2295b54508636ff74f307') + '1c18155cdece83d556e2295b54508636ff74f307' \ + '900ec28ba2121cb996b3d62710e5606e54eadd44') } _______________________________________________ Frugalware-darcs mailing list Frugalware-darcs@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-darcs