diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-28 10:23:50 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-09-07 11:17:56 +0200 |
commit | 6dc24d98f574f525ac74bf93d0bed4d44d8721c6 (patch) | |
tree | b82031f215083e0fcd209160796d1a698b64ebd1 | |
parent | 674b916128b68297787be9cb86faec925d5f2c68 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I35210b36a927b96f29d0a07a3cf63e226e4c4453
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121159
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
-rw-r--r-- | starmath/source/mathtype.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index c720116de562..c81433267e01 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -2812,8 +2812,8 @@ void MathType::HandleEmblishments() void MathType::HandleSetSize() { - sal_uInt8 nTemp; - pS->ReadUChar( nTemp ); + sal_uInt8 nTemp(0); + pS->ReadUChar(nTemp); switch (nTemp) { case 101: |