summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-29 11:15:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-29 16:18:28 +0200
commitd3581066fb0db1b9088a766d9577040ccda10021 (patch)
tree766d3d73a39ee98833b033eb22dd43b27cd5ab46 /lotuswordpro
parentba367806deb5e5b63996f2965fe3d9677921af26 (diff)
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: Ib1bed182b1b49076a47c7bc2bf29b9a45a21fbbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121221 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpsilverbullet.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx
index 105bdf169115..338e71e5290a 100644
--- a/lotuswordpro/source/filter/lwpsilverbullet.cxx
+++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx
@@ -76,6 +76,7 @@ LwpSilverBullet::LwpSilverBullet(LwpObjectHeader const & objHdr, LwpSvStream* pS
, m_nUseCount(0)
, m_pAtomHolder(new LwpAtomHolder)
{
+ memset(m_pHideLevels, 0, sizeof(m_pHideLevels));
}
LwpSilverBullet::~LwpSilverBullet()