summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmlinputstream.cxx
diff options
context:
space:
mode:
authorMuthu Subramanian K <sumuthu@novell.com>2010-10-15 14:56:33 +0530
committerMuthu Subramanian K <sumuthu@novell.com>2010-10-16 21:46:20 +0530
commite9fbc6819017bb6559c53991142465a56c74d116 (patch)
treefaa81fde99c019edf274e230bbd657919d9080fd /oox/source/vml/vmlinputstream.cxx
parent3ce6e877c3d75ad4a5af47bfb6a678c928a9b3a1 (diff)
'\n' at the end of a vml file causes hang+memory fillup.
Diffstat (limited to 'oox/source/vml/vmlinputstream.cxx')
-rw-r--r--oox/source/vml/vmlinputstream.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/vml/vmlinputstream.cxx b/oox/source/vml/vmlinputstream.cxx
index 8c385bec5082..aed3be113d52 100644
--- a/oox/source/vml/vmlinputstream.cxx
+++ b/oox/source/vml/vmlinputstream.cxx
@@ -255,6 +255,10 @@ StreamDataContainer::StreamDataContainer( const Reference< XInputStream >& rxInS
}
}
}
+ else
+ {
+ pcCurr = pcEnd;
+ }
}
// set the final data sequence