svtools/source/svrtf/parrtf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f1afe20decb818b5f8c3a911d569561ad6fe2f7a
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Aug 23 20:21:25 2021 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Aug 25 17:36:19 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I69b76dd2aed35fe2038e61eef343ee8d84f053f7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120926
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 6f790c8b31360463670439e6857ea64f418ddfbd)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120972
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index 8b5ad0a0a7cb..c08e366de943 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -570,7 +570,7 @@ void SvRTFParser::ReadBitmapData()  { SkipGroup(); }
 
 SvParserState SvRTFParser::CallParser()
 {
-    char cFirstCh;
+    char cFirstCh(0);
     nNextChPos = rInput.Tell();
     rInput.ReadChar( cFirstCh );
     nNextCh = static_cast<unsigned char>(cFirstCh);

Reply via email to