filter/source/msfilter/svdfppt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 10a556f9e8653f5d94fba2703d8320639c64f5c7 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Sep 16 08:58:33 2021 +0100 Commit: Caolán McNamara <caol...@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 <caol...@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 )