Re: [PATCH weston] xwm: fix use after free

2015-01-29 Thread Bryce Harrington
On Thu, Jan 29, 2015 at 07:17:31PM +0200, Giulio Camuffo wrote: > 2015-01-28 5:29 GMT+02:00 Bryce Harrington : > > On Fri, Dec 26, 2014 at 06:10:35PM +0200, Giulio Camuffo wrote: > >> Calling wl_event_source_remove() will free the event source later, so > >> reset the pointer to avoid calling it tw

Re: [PATCH weston] xwm: fix use after free

2015-01-29 Thread Giulio Camuffo
2015-01-28 5:29 GMT+02:00 Bryce Harrington : > On Fri, Dec 26, 2014 at 06:10:35PM +0200, Giulio Camuffo wrote: >> Calling wl_event_source_remove() will free the event source later, so >> reset the pointer to avoid calling it two times on the same pointer. >> Fix a compositor crash when copying some

Re: [PATCH weston] xwm: fix use after free

2015-01-27 Thread Bryce Harrington
On Fri, Dec 26, 2014 at 06:10:35PM +0200, Giulio Camuffo wrote: > Calling wl_event_source_remove() will free the event source later, so > reset the pointer to avoid calling it two times on the same pointer. > Fix a compositor crash when copying some text from weston terminal, > pasting it in the sa

[PATCH weston] xwm: fix use after free

2014-12-26 Thread Giulio Camuffo
Calling wl_event_source_remove() will free the event source later, so reset the pointer to avoid calling it two times on the same pointer. Fix a compositor crash when copying some text from weston terminal, pasting it in the same terminal and hitting ctrl-u, while a X client is running. --- xwayla