[Libreoffice-commits] core.git: emfio/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Sep 4 11:29:46 UTC 2021
emfio/source/reader/emfreader.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2c4df704fa24ad04d042722e8d02fec4a5cd1def
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Sep 4 11:05:09 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Sep 4 13:29:14 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I53383a71b4a362409773f8f1123982e8d2c5a324
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121631
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index b5b86ef894a2..52ad30510bf7 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -1142,8 +1142,8 @@ namespace emfio
if ( ( nIndex & ENHMETA_STOCK_OBJECT ) == 0 )
{
LineInfo aLineInfo;
- sal_uInt32 nStyle;
- sal_Int32 nPenWidth, nIgnored;
+ sal_uInt32 nStyle(0);
+ sal_Int32 nPenWidth(0), nIgnored;
mpInputStream->ReadUInt32( nStyle ).ReadInt32( nPenWidth ).ReadInt32( nIgnored );
More information about the Libreoffice-commits
mailing list