From e9fbc6819017bb6559c53991142465a56c74d116 Mon Sep 17 00:00:00 2001 From: Muthu Subramanian K Date: Fri, 15 Oct 2010 14:56:33 +0530 Subject: '\n' at the end of a vml file causes hang+memory fillup. --- oox/source/vml/vmlinputstream.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'oox/source/vml/vmlinputstream.cxx') 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 -- cgit