Bug 149562 - Macros created in LO 7.3 Writer will crash LO 7.4 if the *.odt file was saved with password protection
Summary: Macros created in LO 7.3 Writer will crash LO 7.4 if the *.odt file was save...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-14 13:41 UTC by HTK300
Modified: 2022-11-27 11:58 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot Macro message (16.24 KB, image/jpeg)
2022-06-14 13:44 UTC, HTK300
Details
screenshot upon crash at file opening (22.87 KB, image/jpeg)
2022-06-14 13:45 UTC, HTK300
Details
example of letter wizard (36.41 KB, image/jpeg)
2022-06-14 13:47 UTC, HTK300
Details
WRITER letter with macros and password is: libre (40.50 KB, application/octet-stream)
2022-06-14 15:53 UTC, HTK300
Details
letter with macro but no password (38.33 KB, application/octet-stream)
2022-06-14 15:54 UTC, HTK300
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HTK300 2022-06-14 13:41:58 UTC
Description:
a password protected WRITER file, that was created in LO 7.3xx using the Letter Wizard (personal, which creates MACROS within) will crash in Writer LO 7.4 reproducibly

Steps to Reproduce:
1. Open LO7.3 and create a writer document using the Letter wizard
2. save the file with password protection
3. Open the password protected file (with macros disabled) in LO 7.4
4. Writer will ask for the password protection to be entered
5. a splash screen will pop up about the macros...
6. LO 7.4 will crash !

Actual Results:
LO 7.4 will crash !

Expected Results:
normally opening the previously password protected writer (including Macros, but disabled) file should be able to be editable.


Reproducible: Always


User Profile Reset: No



Additional Info:
see expected results..
Comment 1 HTK300 2022-06-14 13:44:21 UTC
Created attachment 180755 [details]
screenshot Macro message

notification about macro being present in the file being opened
Comment 2 HTK300 2022-06-14 13:45:45 UTC
Created attachment 180756 [details]
screenshot upon crash at file opening

screenshot upon crash at file opening
Comment 3 HTK300 2022-06-14 13:47:04 UTC
Created attachment 180757 [details]
example of letter wizard

dialog for letter wizard
Comment 4 Xisco Faulí 2022-06-14 13:49:22 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 5 HTK300 2022-06-14 15:53:33 UTC
Created attachment 180762 [details]
WRITER letter with macros and password is: libre

WRITER letter with macros and password protected.
the password is: libre
Comment 6 HTK300 2022-06-14 15:54:35 UTC
Created attachment 180763 [details]
letter with macro but no password

letter with macros, no password protection
Comment 7 Telesto 2022-06-14 19:35:26 UTC
(In reply to HTK300 from comment #5)
> Created attachment 180762 [details]
> WRITER letter with macros and password is: libre
> 
> WRITER letter with macros and password protected.
> the password is: libre

No crash
Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 089c91b1ad16232f130cb50266732509f83c52eb
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-GB
Calc: CL Jumbo
Comment 8 Timur 2022-07-06 14:45:02 UTC
Also no crash for me. Please paste here Help-About. And do LO profile reset.
Comment 9 HTK300 2022-11-05 09:17:23 UTC
now works for me with or without password
Comment 10 Roman Kuznetsov 2022-11-27 11:58:37 UTC
Let's close as WFM by Comment 9