| Summary: | KActionCollection static_cast<QAction*> relies on UB | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Alvin Wong <alvin> |
| Component: | General | Assignee: | amyspark <amy> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Unspecified | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/cbafea01e8e1056140642f92c7699988afa340e2 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Alvin Wong
2022-04-11 14:30:05 UTC
Same cast in upstream: [1]: https://invent.kde.org/frameworks/kxmlgui/-/blob/74fa6647afdbb94a259e51651048de0936e24a98/src/kactioncollection.cpp#L744 Assigning to amyspark Git commit cbafea01e8e1056140642f92c7699988afa340e2 by Dmitry Kazakov, on behalf of L. E. Segovia. Committed on 20/04/2022 at 11:28. Pushed by dkazakov into branch 'master'. Fix ASAN on KActionCollection* M +19 -17 libs/widgetutils/xmlgui/kactioncollection.cpp M +0 -6 libs/widgetutils/xmlgui/kactioncollection.h https://invent.kde.org/graphics/krita/commit/cbafea01e8e1056140642f92c7699988afa340e2 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/110 |