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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 31 07:57:09 UTC 2021


 vcl/source/filter/imet/ios2met.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0aed7f60182f2d81e52555096f2a3ef5fb96e403
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 30 12:54:47 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 31 09:56:34 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I97b5552b9bfbde61ac35ad7a2a7e6dbc8bdea429
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121331
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/filter/imet/ios2met.cxx b/vcl/source/filter/imet/ios2met.cxx
index fc6f8c2fc595..64b29fc6ade7 100644
--- a/vcl/source/filter/imet/ios2met.cxx
+++ b/vcl/source/filter/imet/ios2met.cxx
@@ -1681,7 +1681,7 @@ void OS2METReader::ReadOrder(sal_uInt16 nOrderID, sal_uInt16 nOrderLen)
         }
         case GOrdSClPth: {
             SAL_INFO("filter.os2met","GOrdSClPth");
-            sal_uInt32 nID;
+            sal_uInt32 nID(0);
             OSPath * p=pPathList;
             pOS2MET->SeekRel(2);
             pOS2MET->ReadUInt32( nID );


More information about the Libreoffice-commits mailing list