Bug ID: 116351
           Summary: Encryption with two or more keys causes General
                    input/output error
           Product: LibreOffice
           Version: Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice

see steps to reproduce

Steps to Reproduce:
1. Create two sets of OpenPGP key pairs ,both for encryption. ( I call them as and
2. Run Writer
3. File->Save As
4. Check "Encrypt with GPG keys"
5. Save As "Untitled 1.odt"
6. A dialog with "Select Certificate" as its title appears.
7. Hold Ctrl Key and Select and
8. Click Encrypt

Actual Results:  
A dialog appers. The message there is

Error saving the document Untitled 1:
General Error.
General input/output error.

here you cannot save this file even without GPG keys

Expected Results:
No Error

Reproducible: Always

User Profile Reset: No

Additional Info:
xNewAttrList declared here is not cleared anywhere.

so if you have two or more keys,

it would mean there would be two loext:PGPAlgorithm for the same element. Of
course this is wrong.

if you have enabled dbgutil when you configure before you make your own build,
you can be more sure of that, as you will see an assertion error.

there seems no clear() method thing-y for xml::sax::XAttributeList, I will just
remove these declarations and declare them in for-loop that begins at

in the patch I will submit.

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101

You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to