summaryrefslogtreecommitdiff
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff')
-rw-r--r--libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff b/libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff
new file mode 100644
index 0000000000..303aea421a
--- /dev/null
+++ b/libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff
@@ -0,0 +1,12 @@
+diff -urb libvmime-0.7.1.orig/src/body.cpp libvmime-0.7.1.patched/src/body.cpp
+--- libvmime-0.7.1.orig/src/body.cpp 2005-03-18 22:26:46.000000000 +0100
++++ libvmime-0.7.1.patched/src/body.cpp 2007-11-01 16:45:20.688580500 +0100
+@@ -173,7 +173,7 @@
+ ++pos;
+ }
+
+- if (index > 0)
++ if (index > 0 && partStart < partEnd)
+ {
+ bodyPart* part = new bodyPart;
+