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

            Bug ID: 170012
           Summary: infinite loop/crash when saving ODS with a
                    SCA_CELL_RESIZE form control that moved
           Product: LibreOffice
           Version: 7.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 119060

Created attachment 204682
  --> https://bugs.documentfoundation.org/attachment.cgi?id=204682&action=edit
checkbox.ods

LO hangs (or crashes in debug mode) when saving a file after a form control has
moved.

Steps to reproduce:
-Open checkbox.ods
-Tools - Forms - Design Mode
  -right click on checkbox - Control Properties - Anchor - To Cell
-Save as checkboxRT.ods => works fine
-drag one of the earlier rows larger or smaller (so that the checkbox moves)
-save => infinite loop

The loop happens because of an invalid -1 col/row address from 
ScMyShapesContainer::GetFirstAddress

This crash started with 7.1 commit 1f0b3c7a40edfa81bbc7a58d123a6a2dfd83e4ca
Author: Regina Henschel on Sat Oct 31 15:36:00 2020 +0100
    Improve 'resize with cell' handling
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104643


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=119060
[Bug 119060] [META] XLSX (OOXML) ActiveX and Legacy form control related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to