graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Destroying the BlurInterface on the server side before the client has a
  chance to cleanup results in a protocol error:
  wl_display@1: error 0: invalid object 7
  
  Which would terminate the client. If we would not destroy the resource,
  but only delete the BlurInterface it could result in heap-use-after-free.
  
  So just don't do anything, the client needs to cleanup which will result
  in the BlurInterface being deleted.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  blur-destroy-surface

REVISION DETAIL
  https://phabricator.kde.org/D1708

AFFECTED FILES
  autotests/client/test_wayland_blur.cpp
  src/server/blur_interface.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma
Cc: plasma-devel, sebas
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to