Kaydet (Commit) bcaa452f authored tarafından Caolán McNamara's avatar Caolán McNamara

Infinite loop in ooo32227-1.rtf with calc rtf filter

Change-Id: I068b205c844296379b5641356e4087b17f0a3535
Reviewed-on: https://gerrit.libreoffice.org/44218Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c79467ba
......@@ -336,7 +336,9 @@ void SvRTFParser::ScanText()
sal_Char nSlash = '\\';
while (!bBreak)
{
wchar_t next=GetNextChar();
auto next = GetNextChar();
if (sal_Unicode(EOF) == next)
break;
if (next>0xFF) // fix for #i43933# and #i35653#
{
if (!aByteString.isEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment