Comment 2 for bug 1078734

Revision history for this message
KWAndi (lst-hoe01) wrote :

A "debdiff" for simply including the one-line fix:

diff -Nru cyrus-imapd-2.4-2.4.12/debian/patches/cyrus-imapd-assertion-on-binary-append.patch cyrus-imapd-2.4-2.4.12/debian/patches/cyrus-imapd-assertion-on-binary-append.patch
--- cyrus-imapd-2.4-2.4.12/debian/patches/cyrus-imapd-assertion-on-binary-append.patch 1970-01-01 01:00:00.000000000 +0100
+++ cyrus-imapd-2.4-2.4.12/debian/patches/cyrus-imapd-assertion-on-binary-append.patch 2013-06-13 16:30:47.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/imap/message.c 2013-06-13 16:03:20.000000000 +0200
++++ b/imap/message.c 2013-06-13 16:23:25.646533635 +0200
+@@ -371,6 +371,8 @@
+ message_parse_body(&msg, *body,
+ DEFAULT_CONTENT_TYPE, (struct boundary *)0);
+
++ message_guid_generate(&(*body)->guid, msg.base, msg.len);
++
+ lseek(fd, 0L, SEEK_SET);
+ n = retry_write(fd, msg.base, msg.len);
+
diff -Nru cyrus-imapd-2.4-2.4.12/debian/patches/series cyrus-imapd-2.4-2.4.12/debian/patches/series
--- cyrus-imapd-2.4-2.4.12/debian/patches/series 2011-10-06 21:53:48.000000000 +0200
+++ cyrus-imapd-2.4-2.4.12/debian/patches/series 2013-06-13 16:35:48.000000000 +0200
@@ -28,5 +28,6 @@
 82-fix_manpage_errors.patch
 cyrus-imapd-2.4.2-902-accept-invalid-from-header.patch
 cyrus-imapd-2.4.2-903-normalize-authorization-id.patch
+cyrus-imapd-assertion-on-binary-append.patch
 86-fix_PATH_MAX_on_hurd.patch
 87-try_only_-ldb.patch