[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source

Caolán McNamara caolanm at redhat.com
Mon Sep 9 12:32:12 PDT 2013


 sc/source/filter/qpro/qproform.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 054131ff77306402431f6a3a99ddd38a9896e7d8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Sep 9 20:09:11 2013 +0100

    CID#1079180 initialize buffer
    
    Change-Id: Id00bce6fe4826293f6b0ae842bc70b536e9aa99a
    (cherry picked from commit c119ec426b2a20b79d3ecaccaa91d15bc8d43a23)
    Reviewed-on: https://gerrit.libreoffice.org/5892
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 80c1d19..de2caf4 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -201,7 +201,8 @@ ConvErr QProToSc::Convert( const ScTokenArray*& pArray, sal_uInt16 /*nLen*/, con
     ScSingleRefData aSRD;
     FUNC_TYPE eType;
     DefTokenId eOc;
-    double nFloatArray[ nBufSize ], nFloat;
+    double nFloatArray[ nBufSize ] = {0};
+    double nFloat;
     const sal_Char* pExtString = 0;
 
     aCRD.InitFlags();


More information about the Libreoffice-commits mailing list