[PATCH xserver] prime: Clear PixmapDirtyUpdateRec::damage when it's destroyed
Adam Jackson
ajax at nwnk.net
Thu Feb 16 19:24:56 UTC 2017
On Thu, 2017-02-16 at 16:13 +0900, Michel Dänzer wrote:
> > From: Michel Dänzer <michel.daenzer at amd.com>
>
> The root window, and by extension any damage records referencing it,
> may be destroyed before shared pixmaps referencing it, which resulted in
> use-after-free / double-free in PixmapStopDirtyTracking.
>
> Fixes: b5b292896f64 ("prime: Sync shared pixmap from root window instead of screen pixmap")
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Looks good, thanks!
remote: I: patch #139161 updated using rev a6566f9e4dbf9ea9568a14e22cb5d004e10dbd4d.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
371ff0c..a6566f9 master -> master
- ajax
More information about the xorg-devel
mailing list