D22986: RFC: fix: Prevent heap-use-after-free when tearing down

Vlad Zagorodniy noreply at phabricator.kde.org
Thu Aug 8 09:41:53 BST 2019


zzag added a comment.


  In D22986#508353 <https://phabricator.kde.org/D22986#508353>, @romangg wrote:
  
  > Wouldn't it make more sense then to tackle this issue directly instead of putting another small patch on it?
  
  
  I'm open for suggestions how to fix this problem.
  
  ShellClient's are created only when Workspace is created. This patch draws a line between what entity is responsible for destroying them - lifetime of each ShellClient is bounded to Workspace while lifetime of wayland resources is bounded to WaylandServer.

REPOSITORY
  R108 KWin

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

To: zzag, #kwin
Cc: romangg, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190808/73bb98ee/attachment.html>


More information about the kwin mailing list