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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Sep 19 12:44:57 UTC 2021


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

New commits:
commit f8e3047eec82bfcf50e0930e70ab92fceb9aa820
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Sep 19 12:34:11 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Sep 19 14:44:26 2021 +0200

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

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 443e5b762b91..454cac8a0959 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -6550,10 +6550,10 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport
                     DffRecordHeader     aPresRuleHd;
                     DffRecordHeader*    pFirst = pHd;
 
-                    sal_uInt32  nTmpSlideId, nTmpRef;
                     while ( pHd )
                     {
                         pHd->SeekToContent( rIn );
+                        sal_uInt32 nTmpSlideId(0), nTmpRef;
                         rIn.ReadUInt32( nTmpSlideId )
                            .ReadUInt32( nTmpRef );         // this seems to be the instance
 


More information about the Libreoffice-commits mailing list