[Pkg-voip-commits] r4484 - /asterisk/trunk/debian/patches/CVE-2007-4521

paravoid at alioth.debian.org paravoid at alioth.debian.org
Tue Sep 11 15:00:31 UTC 2007


Author: paravoid
Date: Tue Sep 11 15:00:31 2007
New Revision: 4484

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4484
Log:
Cleanup CVE-2007-4521 patch

Modified:
    asterisk/trunk/debian/patches/CVE-2007-4521

Modified: asterisk/trunk/debian/patches/CVE-2007-4521
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/patches/CVE-2007-4521?rev=4484&op=diff
==============================================================================
--- asterisk/trunk/debian/patches/CVE-2007-4521 (original)
+++ asterisk/trunk/debian/patches/CVE-2007-4521 Tue Sep 11 15:00:31 2007
@@ -18,18 +18,3 @@
  		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 -urNad asterisk-1.4.11~dfsg~/x asterisk-1.4.11~dfsg/x
---- asterisk-1.4.11~dfsg~/x	1970-01-01 01:00:00.000000000 +0100
-+++ asterisk-1.4.11~dfsg/x	2007-08-30 17:39:58.000000000 +0200
-@@ -0,0 +1,11 @@
-+--- branches/1.4/apps/app_voicemail.c (original)
-++++ branches/1.4/apps/app_voicemail.c Fri Aug 24 10:51:03 2007
-+@@ -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");




More information about the Pkg-voip-commits mailing list