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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 16 09:08:22 UTC 2021


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

New commits:
commit 10a556f9e8653f5d94fba2703d8320639c64f5c7
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 16 08:58:33 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 16 11:07:48 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I8867ab619acf0dcb7ba056f2b8754bd1778f1ccb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122175
    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 dba0659e6a3d..443e5b762b91 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -172,7 +172,7 @@ SvStream& ReadPptCurrentUserAtom( SvStream& rIn, PptCurrentUserAtom& rAtom )
     if ( aHd.nRecType == PPT_PST_CurrentUserAtom )
     {
         sal_uInt32 nLen;
-        sal_uInt16 nUserNameLen, nPad;
+        sal_uInt16 nUserNameLen(0), nPad;
         rIn.ReadUInt32( nLen )
            .ReadUInt32( rAtom.nMagic )
            .ReadUInt32( rAtom.nCurrentUserEdit )


More information about the Libreoffice-commits mailing list