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

            Bug ID: 158358
           Summary: DoS + Bad crash when killing Python macro
           Product: LibreOffice
           Version: 7.6.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Hello

I'm trying to learn how to create a macro in LibreOffice (7.6.3.2 60(Build:2))
under Linux.

I hit "run" on a Python macro that was calling an external software using
"subprocess.check_output". This external tools never ended. So I killed LOo
with xkill.

Now, every time I hit the Tools>Macro>Run or Tools>Macro>Organize>Python LOo
crashes.

I've tried killing/restarting LOo multiple times, I get the same result. I
tried killing any remaining all the processes I could find related to LOo or
Python, with no luck... The only thing I didn't try is restart the computer,
because I can't do it for the moment (important stuff runnning).

The error message when running LOo from CLI is:
""
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
""

So there might be bad (exploitable?) stuff happening here :( At least, it's a
complete DoS for all Macros...

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

Reply via email to