[evolution-patches] fix for 47824's fix




previous patch had a bug in the new code.  this should fix it up.  nasty crash with signed attached messages otherwise.

(patch is against head, but it is for 2.0)

Index: camel/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/ChangeLog,v
retrieving revision 1.2371
diff -u -p -r1.2371 ChangeLog
--- camel/ChangeLog	13 Jan 2005 21:22:48 -0000	1.2371
+++ camel/ChangeLog	17 Jan 2005 07:38:06 -0000
@@ -1,3 +1,8 @@
+2005-01-17  Not Zed  <NotZed Ximian com>
+
+	* camel-multipart-signed.c (skip_content): in the message state
+	skip a state, otherwise we go nowhere but down an overflowed stack drain.
+
 2005-01-12  Jeffrey Stedfast  <fejj novell com>
 
 	* providers/imap4/camel-imap4-provider.c: Use the same key
Index: camel/camel-multipart-signed.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-multipart-signed.c,v
retrieving revision 1.27
diff -u -p -r1.27 camel-multipart-signed.c
--- camel/camel-multipart-signed.c	13 Jan 2005 02:53:37 -0000	1.27
+++ camel/camel-multipart-signed.c	17 Jan 2005 07:38:07 -0000
@@ -197,6 +197,7 @@ skip_content(CamelMimeParser *cmp)
 		break;
 	case CAMEL_MIME_PARSER_STATE_MESSAGE:
 		/* message body part */
+		(void)camel_mime_parser_step(cmp, &buf, &len);
 		skip_content(cmp);
 
 		/* clean up followon state if any, see camel-mime-message.c */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]