summaryrefslogtreecommitdiffstats
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-out-of-bounds-copy.diff
blob: 8dd673719d894f6bba3885bd2a990bd03a56ca3b (plain)
--- libvmime-0.7.1/src/utility/filteredStream.cpp	2005-06-16 21:50:12.000000000 +0200
+++ libvmime-0.7.1.patched/src/utility/filteredStream.cpp	2007-06-15 14:29:40.907779750 +0200
@@ -146,7 +146,7 @@
 
 		if (previousChar == '\n')
 		{
-			m_stream.write(start, pos - data);
+			m_stream.write(start, pos - start);
 			m_stream.write("..", 2);
 
 			start = pos + 1;