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

Caolán McNamara caolanm at redhat.com
Tue Dec 8 13:01:44 PST 2015


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

New commits:
commit ca57260f3e95dfd6c111dd1ffd4711d6c8ac6dca
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/20479
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx
index 8f93df0..c77d2de 100644
--- a/lotuswordpro/source/filter/lwpfilter.cxx
+++ b/lotuswordpro/source/filter/lwpfilter.cxx
@@ -148,8 +148,8 @@ using namespace OpenStormBento;
 {
     SvStream * pDecompressed = NULL;
 
-    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