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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 17 07:49:42 UTC 2020


 vcl/source/gdi/gfxlink.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6520999570cee4e94075617537e23bb8911f162b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 16 20:40:42 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Apr 17 09:49:10 2020 +0200

    cid#1462264 Uninitialized scalar field
    
    Change-Id: I4b733bf37132073ece55fa392c06086410f6f914
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92393
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/gdi/gfxlink.cxx b/vcl/source/gdi/gfxlink.cxx
index 9a3f6561be8f..83936c277ead 100644
--- a/vcl/source/gdi/gfxlink.cxx
+++ b/vcl/source/gdi/gfxlink.cxx
@@ -29,6 +29,7 @@
 GfxLink::GfxLink()
     : meType(GfxLinkType::NONE)
     , mnUserId(0)
+    , maHash(0)
     , mnSwapInDataSize(0)
     , mbPrefMapModeValid(false)
     , mbPrefSizeValid(false)
@@ -41,6 +42,7 @@ GfxLink::GfxLink(std::unique_ptr<sal_uInt8[]> pBuf, sal_uInt32 nSize, GfxLinkTyp
     : meType(nType)
     , mnUserId(0)
     , mpSwapInData(std::shared_ptr<sal_uInt8>(pBuf.release(), pBuf.get_deleter())) // std::move(pBuf) does not compile on Jenkins MacOSX (24 May 2016)
+    , maHash(0)
     , mnSwapInDataSize(nSize)
     , mbPrefMapModeValid(false)
     , mbPrefSizeValid(false)


More information about the Libreoffice-commits mailing list