D16431: Guard data source being deleted before processing dataoffer receive event

David Edmundson noreply at phabricator.kde.org
Fri Oct 26 00:51:37 BST 2018


davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  A data source can disappear at any moment, it's plausible a client could
  have requested data whilst the client was alive and we are processing it
  afterwards.
  
  The accept and finish callback guard against the source being deleted,
  but recieve did not.
  
  BUG: 400311

TEST PLAN
  Could still copy/paste as before

REPOSITORY
  R127 KWayland

BRANCH
  master

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

AFFECTED FILES
  src/server/dataoffer_interface.cpp

To: davidedmundson, #kwin
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181025/735f6ded/attachment.html>


More information about the Kde-frameworks-devel mailing list