Summary: | Korganizer crashes when forwarding an event | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Thomas Monjalon <thomas> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dvratil |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/korganizer/-/commit/e28baf6ff1290edbc8e5771400fe87c81dbc8fea | Version Fixed In: | 23.08.3 |
Sentry Crash Report: |
Description
Thomas Monjalon
2023-09-04 14:14:30 UTC
Could you please describe how exactly are you trying to forward an event? Thanks In Korganizer, I do a right-clik on an event and choose "send as iCalendar". Then I choose the recipient, click OK, and it crashes. A possibly relevant merge request was started @ https://invent.kde.org/pim/korganizer/-/merge_requests/106 Git commit e28baf6ff1290edbc8e5771400fe87c81dbc8fea by Daniel Vrátil. Committed on 17/10/2023 at 21:30. Pushed by dvratil into branch 'release/23.08'. Fix crash when forwarding incidence via context menu The MailClient inside ITIPHandler may work asynchronously, causing the ITIPHandler inside the KOEVentPopupMenu to go out-of-scope and be destroyed before the async operation in the MailClient finishes. Since MailClient relies on a factory object owned by the ITIPHandler, if the ITIPHandler gets destroyed before the MailClient finishes, it will delete the factory object causing use-after-free when the async operation in MailClient is finally done. FIXED-IN: 23.08.3 M +6 -3 src/koeventpopupmenu.cpp https://invent.kde.org/pim/korganizer/-/commit/e28baf6ff1290edbc8e5771400fe87c81dbc8fea |