summaryrefslogtreecommitdiff
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-double-empty-boundary.diff
blob: 303aea421a5a2e248d40c4773fcedfdd4928c921 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;