https://bugs.documentfoundation.org/show_bug.cgi?id=165482

Rosalio Morales <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #10 from Rosalio Morales <[email protected]> ---

Steps to Reproduce (before fix):

Opening certain .docx documents with complex tables caused a freeze due to an
uncontrolled loop in SwContentFrame::CalcLowers.

Root Cause:
The loop controlling frame formatting lacked a limit, so some structures caused
endless recalculation.

Solution:
Implemented a safe loop control with a maximum of 18 iterations, tested across
various document sizes.

Results After Fix:

- Document opens fine, no freeze.

- Layout renders properly.

- Printing and PDF export verified.

- No side effects found with other documents.

PS:

Debugged using GDB and confirmed the loop exit condition works as intended.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to