summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2010-05-15 18:45:27 (GMT)
committerMark Brand <mabrand@mabrand.nl>2010-05-15 18:45:27 (GMT)
commitb6ee0378c5a00d9cfadb6c308a513bed6c6ef845 (patch)
tree88edfe8bdc2ec1c400bc166bbf764dc1b66d149c
parent2b714bbe93278a48382120e6c995267d6baf5e35 (diff)
downloadmxe-b6ee0378c5a00d9cfadb6c308a513bed6c6ef845.zip
mxe-b6ee0378c5a00d9cfadb6c308a513bed6c6ef845.tar.gz
mxe-b6ee0378c5a00d9cfadb6c308a513bed6c6ef845.tar.bz2
upgrade package vmime to 0.9.1-svn-r546
r546 | vincent-richard | 2010-05-14 18:56:20 +0200 (Fri, 14 May 2010) | 1 line Fixed parsing of header field value with no data on the first line (folding).
-rw-r--r--src/vmime-0.9.1-svn-r546-20100514.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/vmime-0.9.1-svn-r546-20100514.patch b/src/vmime-0.9.1-svn-r546-20100514.patch
new file mode 100644
index 0000000..f46e138
--- /dev/null
+++ b/src/vmime-0.9.1-svn-r546-20100514.patch
@@ -0,0 +1,19 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -urN a/src/headerField.cpp b/src/headerField.cpp
+--- a/src/headerField.cpp 2010-05-15 20:36:05.685783611 +0200
++++ b/src/headerField.cpp 2010-05-15 20:36:18.853452026 +0200
+@@ -146,6 +146,12 @@
+ {
+ c = buffer[pos];
+
++ // Check for folded line
++ if (c == '\r' && pos + 2 < end && buffer[pos + 1] == '\n' &&
++ (buffer[pos + 2] == ' ' || buffer[pos + 2] == '\t'))
++ {
++ pos += 3;
++ }
+ // Check for end of contents
+ if (c == '\r' && pos + 1 < end && buffer[pos + 1] == '\n')
+ {