graesslin created this revision. Restricted Application added projects: Plasma on Wayland, Frameworks. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY ASAN found a heap-use-after-free when deleting the focused keyboard surface in the client library. Keyboard did not track the lifetime of the focused surface and thus one can access already freed memory. TEST PLAN Adjusted auto test to verify the variable gets cleared REPOSITORY R127 KWayland BRANCH keyboard-entered-surface-cleanup REVISION DETAIL https://phabricator.kde.org/D6741 AFFECTED FILES autotests/client/test_wayland_seat.cpp src/client/keyboard.cpp To: graesslin, #frameworks, #plasma Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas