Index: xfa/fgas/layout/fgas_rtfbreak.cpp |
diff --git a/xfa/fgas/layout/fgas_rtfbreak.cpp b/xfa/fgas/layout/fgas_rtfbreak.cpp |
index 8a4f6eac2b130f94ae2a4150de5087358760ba88..bfe3ca674f4587f75dc0d1ae0573567b31631387 100644 |
--- a/xfa/fgas/layout/fgas_rtfbreak.cpp |
+++ b/xfa/fgas/layout/fgas_rtfbreak.cpp |
@@ -646,7 +646,7 @@ uint32_t CFX_RTFBreak::EndBreak(uint32_t dwStatus) { |
CFX_RTFLine* pNextLine = |
(m_pCurLine == &m_RTFLine1) ? &m_RTFLine2 : &m_RTFLine1; |
FX_BOOL bAllChars = (m_iAlignment > FX_RTFLINEALIGNMENT_Right); |
- CFX_TPOArray tpos; |
+ CFX_TPOArray tpos(100); |
if (EndBreak_SplitLine(pNextLine, bAllChars, dwStatus)) { |
goto EndBreak_Ret; |
} |