[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - lotuswordpro/source

Caolán McNamara caolanm at redhat.com
Tue Dec 8 12:47:10 PST 2015


 lotuswordpro/source/filter/lwpfilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38efb8c609a544119134fb73b5b5e490a1927b45
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 8 20:38:44 2015 +0000

    valgrind: jump or move depends on uninitialised value
    
    Change-Id: I02e507f4b7d78efacc5b735ca24adb83633749b9
    (cherry picked from commit dcbef55a111405b4540856bf6910f81bce9785bb)
    Reviewed-on: https://gerrit.libreoffice.org/20478
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx
index b6c2e78..5326e0c 100644
--- a/lotuswordpro/source/filter/lwpfilter.cxx
+++ b/lotuswordpro/source/filter/lwpfilter.cxx
@@ -149,8 +149,8 @@ using namespace OpenStormBento;
 {
     SvStream * pDecompressed = nullptr;
 
-    sal_uInt32 nTag;
     pStream->Seek(0x10);
+    sal_uInt32 nTag(0);
     pStream->ReadUInt32( nTag );
     if (nTag != 0x3750574c) // "LWP7"
     {


More information about the Libreoffice-commits mailing list