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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 30 08:52:20 UTC 2021


 filter/source/msfilter/msdffimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9dc6fae25e6bf919d14b4bcb262a359893771ac0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 29 21:13:05 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 30 10:51:46 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I50411f90940c1225b6164d4eadcb9dbd14e9e2b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121238
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index dade5bcd999e..0fde06b7e7af 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4209,7 +4209,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
     aObjData.bShapeType = maShapeRecords.SeekToContent( rSt, DFF_msofbtSp );
     if ( aObjData.bShapeType )
     {
-        sal_uInt32 temp;
+        sal_uInt32 temp(0);
         rSt.ReadUInt32( aObjData.nShapeId )
            .ReadUInt32( temp );
         aObjData.nSpFlags = ShapeFlag(temp);


More information about the Libreoffice-commits mailing list