<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Password protection of macro libraries does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135799#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Password protection of macro libraries does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135799">bug 135799</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=164360" name="attach_164360" title="Password-protected library with custom type with array data field">attachment 164360</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=164360&action=edit" title="Password-protected library with custom type with array data field">[details]</a></span>
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:
<span class="quote">> Type TFail
> i(0) As Integer ' Fails when this password-protected library is loaded
> End Type</span >
Library Standard contains sub Main, which only loads the password-protected
library:
<span class="quote">> Sub Main
> ThisComponent.BasicLibraries.LoadLibrary("Library1")
> End Sub</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>