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

New commits:
commit ec2b10a8f47a92971464dfa741392d5410ffb2f8
Author: Caolán McNamara <caol...@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/20480
    Reviewed-by: Michael Stahl <mst...@redhat.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Reviewed-by: David Tardon <dtar...@redhat.com>
    Tested-by: David Tardon <dtar...@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"
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to