[Libreoffice-commits] core.git: hwpfilter/source
Caolán McNamara
caolanm at redhat.com
Tue Mar 14 09:26:15 UTC 2017
hwpfilter/source/hwpfile.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 65dcd1d8195069c8c8acb3a188b8e5616c51029c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Mar 14 09:19:50 2017 +0000
ofz#860 clear old data before reading new data
Change-Id: I3bf5c2072a328052004c4c0551c2b125cb8ab19b
Reviewed-on: https://gerrit.libreoffice.org/35165
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx
index f4f96dc..90fdfdb 100644
--- a/hwpfilter/source/hwpfile.cxx
+++ b/hwpfilter/source/hwpfile.cxx
@@ -357,6 +357,8 @@ void HWPFile::TagsRead()
return;
}
+ _hwpInfo.back_info.data.clear();
+
//read potentially compressed data in blocks as its more
//likely large values are simply broken and we'll run out
//of data before we need to realloc
More information about the Libreoffice-commits
mailing list