summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-19 12:34:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-19 14:44:26 +0200
commitf8e3047eec82bfcf50e0930e70ab92fceb9aa820 (patch)
treed908176983cdec47fbf07fdb6ebb97e97144868a
parentb092ae051549f9577c8603235515f79ca8af5156 (diff)
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@redhat.com>
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
1 files changed, 1 insertions, 1 deletions
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