https://bugs.kde.org/show_bug.cgi?id=400311

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwa
                   |                            |yland/8fe4a2756cdb6b71d7e7b
                   |                            |0d346ad84ffa9051ee9
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 8fe4a2756cdb6b71d7e7b0d346ad84ffa9051ee9 by David Edmundson.
Committed on 29/10/2018 at 10:09.
Pushed by davidedmundson into branch 'master'.

Guard data source being deleted before processing dataoffer receive event

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.

Test Plan: Could still copy/paste as before

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D16431

M  +6    -0    src/server/dataoffer_interface.cpp

https://commits.kde.org/kwayland/8fe4a2756cdb6b71d7e7b0d346ad84ffa9051ee9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to