Re: [PATCH xserver] composite: Fix use-after-free in compReparentWindow

2018-02-23 Thread Adam Jackson
On Thu, 2018-02-22 at 22:25 -0800, Keith Packard wrote: > Peter Harris writes: > > > If an implicitly redirected window is unredirected by the reparent > > operation, cw will be a stale pointer. > > > > Signed-off-by: Peter Harris > > Reviewed-by: Keith Packard Merged, thanks: remote: I: pa

Re: [PATCH xserver] composite: Fix use-after-free in compReparentWindow

2018-02-22 Thread Keith Packard
Peter Harris writes: > If an implicitly redirected window is unredirected by the reparent > operation, cw will be a stale pointer. > > Signed-off-by: Peter Harris Reviewed-by: Keith Packard -- -keith signature.asc Description: PGP signature ___ x

[PATCH xserver] composite: Fix use-after-free in compReparentWindow

2018-02-22 Thread Peter Harris
If an implicitly redirected window is unredirected by the reparent operation, cw will be a stale pointer. Signed-off-by: Peter Harris --- composite/compwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composite/compwindow.c b/composite/compwindow.c index e74ce661a..