[Libreoffice-commits] core.git: sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Sep 5 08:13:19 UTC 2021
sd/source/filter/ppt/pptin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1caa289a9b7ed54b01b7a425f6e40578d9184cb1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Sep 4 20:53:42 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Sep 5 10:12:47 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I8d35240e1fe68e364016ca46342f74c43aefb876
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121648
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index f998e57c73e9..18d92a96670e 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -269,7 +269,7 @@ bool ImplSdPPTImport::Import()
if ( ( nType == VT_I4 ) || ( nType == VT_UI4 ) )
{
// examine PID_HEADINGPAIR to get the correct entry for PID_DOCPARTS
- sal_uInt32 nSlideCount, nVecCount;
+ sal_uInt32 nSlideCount(0), nVecCount(0);
aPropItem.ReadUInt32( nSlideCount );
if ( nSlideCount && pSection->GetProperty( PID_HEADINGPAIR, aPropItem ) )
{
More information about the Libreoffice-commits
mailing list