formula/source/core/api/FormulaCompiler.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit c6f70954532bc7f589218f01a7b1e05fe42e0e9b Author: Karthik Godha <[email protected]> AuthorDate: Wed Feb 18 21:21:26 2026 +0530 Commit: Karthik Godha <[email protected]> CommitDate: Sun Mar 1 04:40:13 2026 +0100 XLSX: Infinte loop during formula creation This is related to b58f026ebd91a9eda62cccb188b559bd4f2d70cf, condition for invalid external refs is not handled properly. Change-Id: I597a02fdee967f170b09ffe2b529dc114491291a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199632 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Stahl <[email protected]> (cherry picked from commit 5465c05150db3ff476bed27f573571c38d7ba249) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200609 diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 0470ab046d5b..ac38cd80f351 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -2530,6 +2530,7 @@ void FormulaCompiler::CreateStringFromTokenArray( OUStringBuffer& rBuffer ) if (t->GetOpCode() == ocExternal && t->GetType() == svByte) { rBuffer.append(GetNativeSymbol(ocErrRef)); + t = maArrIterator.Next(); continue; }
