starmath/source/mathmlattr.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3cd0f7aedc46653ae84db9e460609a814ec9013d
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Dec 28 21:29:53 2017 +0000

    ofz#4765: Conditional jump or move depends on uninitialised value
    
    Change-Id: Ic8a4fd6cc62c7257f714e2ce2f155f60aa04aa2f
    Reviewed-on: https://gerrit.libreoffice.org/47158
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com>

diff --git a/starmath/source/mathmlattr.hxx b/starmath/source/mathmlattr.hxx
index f5402546e68e..56144b7b6028 100644
--- a/starmath/source/mathmlattr.hxx
+++ b/starmath/source/mathmlattr.hxx
@@ -43,6 +43,10 @@ struct MathMLAttributeLengthValue
 {
     Fraction aNumber;
     MathMLLengthUnit eUnit;
+    MathMLAttributeLengthValue()
+        : eUnit(MathMLLengthUnit::None)
+    {
+    }
 };
 
 sal_Int32 ParseMathMLAttributeLengthValue(const OUString &rStr, 
MathMLAttributeLengthValue *pV);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to