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

            Bug ID: 164271
           Summary: Macro Selector dialog allows macros in password
                    protected libraries to be run without entering the
                    password
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 198047
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198047&action=edit
video showing steps to repo

Please see the attached video that shows the following steps to repro.

Steps to reproduce:

1) Menu > Tools > Macros > Organize Macros > Basic…

‘BASIC Macros’ dialog opens

2) Click on the ‘Organizer…’ button

‘Basic Macro Organizer’ dialog opens

3) Click on the ‘Libraries’ tab

4) Click on the ‘New…’ button and add a new library to the ‘My Macros &
Dialogs’ location

5) Click on the ‘Password…’ button and set a password for the new library

6) Close the ‘Basic Macro Organizer’ dialog

7) Close the ‘Basic Macros’ dialog

8) Close LibreOffice and restart

9) Menu > Tools > Macros > Organize Macros > Basic…

‘BASIC Macros’ dialog opens

10) In the ‘Macro From’ list, double-click on the library that the password was
set for

‘Enter Password’ dialog opens as expected

11) Click on the ‘Cancel’ button

12) Close the ‘BASIC Macros’ dialog

13) Menu > Tools > Macros > Organize Macros > Run Macros…

‘Macro Selector’ dialog opens

14)  In the ‘Library’ list, double-click on the library that the password was
set for

Results:

The library entry expands to show the content making the macros to the
password-protected library accessible to run. 

Expected results:

The password dialog should open the same as it does for the ‘BASIC Macros’
dialog.

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to