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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 29 18:39:58 UTC 2021


 emfio/source/reader/emfreader.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 16b24385331d85763759291eccfb0344a65e7540
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 29 11:05:09 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Aug 29 20:39:25 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I6d01c819766520eb5c0a8190fa2e9f6f99006548
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121220
    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 8fed29a17f50..f3c1fffdfd77 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -1121,8 +1121,8 @@ namespace emfio
 
                     case EMR_MODIFYWORLDTRANSFORM :
                     {
-                        sal_uInt32  nMode;
-                        XForm   aTempXForm;
+                        sal_uInt32 nMode(0);
+                        XForm aTempXForm;
                         *mpInputStream >> aTempXForm;
                         mpInputStream->ReadUInt32( nMode );
                         ModifyWorldTransform( aTempXForm, nMode );


More information about the Libreoffice-commits mailing list