starmath/source/mathtype.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 436c53773db383d74a45ea8defa874532b5fda64
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Aug 28 10:23:50 2021 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Aug 30 13:42:56 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I35210b36a927b96f29d0a07a3cf63e226e4c4453
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121158
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 1abf4418ff68..fde2defe51e5 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2815,8 +2815,8 @@ void MathType::HandleEmblishments()
 
 void MathType::HandleSetSize()
 {
-    sal_uInt8 nTemp;
-    pS->ReadUChar( nTemp );
+    sal_uInt8 nTemp(0);
+    pS->ReadUChar(nTemp);
     switch (nTemp)
     {
         case 101:

Reply via email to