Apache OpenOffice (AOO) Bugzilla – Issue 22984
password protected macro library crash
Last modified: 2004-05-14 14:50:30 UTC
Hi, please fin here a bug report dealing with macro library protection To test it, i defined a new library (password protected), wrote a small sub macro (print "something") and saved the document as a writer TEMPLATE opening a new document based on this template - If i plug a formular button on this macro, nothing happens - If i try to edit the macro. I'm prompted for password to access inside the library --> ok. On validating this inputbox with the password, OOo crashes with Visual C++ error on soffice.exe - error R6025 - pure virtual function call This does NOT occur if the library is a normal document (not saved in a template) Andreas Bregas confirmed the bug (thanks to him) and asked me to add this in the report : I saw SotStorage::OpenEncryptedSotStream() on the stack Thanks a lot laurent
I change the target to OOo 1.1.2. Only when we find a fix very quickly and it is not risky, we can think about the target OOo 1.1.1.
.
The problem is that on storage copying the encryption information of the stream is lost. The fix is to use different way for copying of the template.
Fixed.
Sending for testing.
Checked and verified together with SW in cws fwk01pp03 -> OK !
closed