summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpfile.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-16 12:10:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-16 14:46:23 +0100
commitf7ffc93bf6f2693454c7ac5fdaff06b1caa63a6e (patch)
treec36135ac9fb09c16c48750be3b35c1eb1f66c98e /hwpfilter/source/hwpfile.cxx
parent6085f7a78a137f7ea3b88c014d203c5e674eb603 (diff)
ofz: limit depth of hwp parsing
Change-Id: Iba38cdea1fa9f3df4340988184adb1e8058ae931 Reviewed-on: https://gerrit.libreoffice.org/44816 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter/source/hwpfile.cxx')
-rw-r--r--hwpfilter/source/hwpfile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx
index 69653f162f6d..128be0caa7af 100644
--- a/hwpfilter/source/hwpfile.cxx
+++ b/hwpfilter/source/hwpfile.cxx
@@ -50,6 +50,7 @@ HWPFile::HWPFile()
, info_block_len(0)
, error_code(HWP_NoError)
, oledata(nullptr)
+ , readdepth(0)
, m_nCurrentPage(1)
, m_nMaxSettedPage(0)
, hiodev(nullptr)