[Libreoffice-commits] core.git: lotuswordpro/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 29 14:19:00 UTC 2021


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

New commits:
commit d3581066fb0db1b9088a766d9577040ccda10021
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 29 11:15:07 2021 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at 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()


More information about the Libreoffice-commits mailing list