After Scene::Window::updateShadow is called, this is a dangling
pointer. So, we have to capture m_topLevel instead.
Details
Details
- Reviewers
- None
- Group Reviewers
KWin
It should make CI a little bit happier.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Branch
- fix-heap-use-after-free
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 5731 Build 5749: arc lint + arc unit
Comment Actions
Either ship it, or see my comment and I'll post that.
shadow.cpp | ||
---|---|---|
337 | That was a nasty trap, good thing ASAN was there. Alternative suggestion: https://phabricator.kde.org/P278 It matches the existing documentation for updateShadow and doesn't have surprise object deletions. |