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

            Bug ID: 100711
           Summary: [CRITICAL] Search & replace corrupts .xlsx file
           Product: LibreOffice
           Version: 5.0.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 126018
  --> https://bugs.documentfoundation.org/attachment.cgi?id=126018&action=edit
9400x from the other bug, with each character replaced by 'y'

1. Open the 9400x.xlsx attached to bug 100709 in LibreCalc
2. Search and replace the '.' regular expression with 'y'
3. Save as 9400y.xlsx
4. Open the resulting file in Excel 2007. The following error will be shown:

> Excel found unreadable content in ... Do you want to recover the contents of 
> this workbook?

The repairs long shows

> Repaired Part: /xl/worksheets/sheet1.xml part with XML error.  Load error. 
> Line 2, column 250.

Inspecting the resulting file reveals that it's now 16MB, an increase of over
30x vs. the initial file, even though the replacement was a 1:1 character to
character. sheet1.xml is 150MB in size (!).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to