lotuswordpro/source/filter/lwpsilverbullet.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d3581066fb0db1b9088a766d9577040ccda10021
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun Aug 29 11:15:07 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sun Aug 29 16:18:28 2021 +0200

    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 <caol...@redhat.com>

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()

Reply via email to