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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 7 13:09:58 UTC 2020


 xmloff/source/style/xmlstyle.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 97a75fa7cc94392f085e592bc6be42c4a0ad6a42
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Aug 7 09:27:06 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Aug 7 15:09:04 2020 +0200

    cid#1465672 Uninitialized pointer field
    
    Change-Id: I535d59b4f4a48067df33c77bb498bce951c67f89
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100291
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 7bd910df2d99..20f72ee256a4 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -216,7 +216,8 @@ public:
 
     SvXMLStyleIndex_Impl( XmlStyleFamily nFam, const OUString& rName ) :
         sName( rName ),
-        nFamily( nFam )
+        nFamily( nFam ),
+        mpStyle(nullptr)
     {
     }
 


More information about the Libreoffice-commits mailing list