https://bugs.documentfoundation.org/show_bug.cgi?id=135799
--- Comment #2 from Mike Kaganski <[email protected]> ---
Created attachment 164360
--> https://bugs.documentfoundation.org/attachment.cgi?id=164360&action=edit
Password-protected library with custom type with array data field
Reproducible.
This is caused by a fixed-type array data field in a custom type in the
protected library.
The attachment is a minimal reproducer. It contains two libraries: Library1
(password-protected; password is "123" without quotes), and Standard. Library1
contains a single module with only one definition of a custom type:
> Type TFail
> i(0) As Integer ' Fails when this password-protected library is loaded
> End Type
Library Standard contains sub Main, which only loads the password-protected
library:
> Sub Main
> ThisComponent.BasicLibraries.LoadLibrary("Library1")
> End Sub
This sub is executed when the button is clicked in the document.
The problem happens in SbiImage::Load (case FileOffset::UserTypes), which calls
pTypeElem->PutObject.
--
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