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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 16 09:58:51 UTC 2019


 vcl/source/filter/GraphicFormatDetector.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3aa5656282dbc6db9ff3dd1ef9324cdf95112276
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 15 20:12:35 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 16 11:57:59 2019 +0200

    cid#1448456 Uninitialized scalar field
    
    Change-Id: I9b29898db96709f5b2d47deb962a124d7cb33eff
    Reviewed-on: https://gerrit.libreoffice.org/75655
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/filter/GraphicFormatDetector.cxx b/vcl/source/filter/GraphicFormatDetector.cxx
index 99c5479a6311..0281df1edfbc 100644
--- a/vcl/source/filter/GraphicFormatDetector.cxx
+++ b/vcl/source/filter/GraphicFormatDetector.cxx
@@ -90,6 +90,10 @@ sal_uInt8* ImplSearchEntry(sal_uInt8* pSource, sal_uInt8 const* pDest, sal_uLong
 GraphicFormatDetector::GraphicFormatDetector(SvStream& rStream, OUString const& rFormatExtension)
     : mrStream(rStream)
     , maExtension(rFormatExtension)
+    , mnFirstLong(0)
+    , mnSecondLong(0)
+    , mnStreamPosition(0)
+    , mnStreamLength(0)
 {
 }
 


More information about the Libreoffice-commits mailing list