Re: [PATCH wayland v1 1/1] wayland-scanner.pc.in: prepend pc_sysrootdir

2016-09-19 Thread Emil Velikov
On 15 September 2016 at 23:22, Joe Konno wrote: > From: Joe Konno > > In a cross-compilation environment with packages depending on > wayland-scanner, ensure the path to wayland-scanner is correct. Without > this patch, the path will _not_ point to the target environment but to > the host's, pote

Re: [PATCH wayland 2/4] wl_array: Set data to null after free

2016-09-19 Thread Eric Engestrom
On Fri, Sep 16, 2016 at 03:37:37PM -0700, Yong Bakos wrote: > From: Yong Bakos > > Explicitly set the data member to NULL during wl_array_release, preventing the > dangling pointer but, more importantly, making it testable. > > Signed-off-by: Yong Bakos > --- > src/wayland-util.c | 1 + > 1 fi

Re: [PATCH wayland 2/4] wl_array: Set data to null after free

2016-09-19 Thread Eric Engestrom
On Mon, Sep 19, 2016 at 11:59:03AM +0100, Eric Engestrom wrote: > On Fri, Sep 16, 2016 at 03:37:37PM -0700, Yong Bakos wrote: > > From: Yong Bakos > > > > Explicitly set the data member to NULL during wl_array_release, preventing > > the > > dangling pointer but, more importantly, making it test

Re: [PATCH wayland 2/4] wl_array: Set data to null after free

2016-09-19 Thread Yong Bakos
On Sep 19, 2016, at 4:08 AM, Eric Engestrom wrote: > > On Mon, Sep 19, 2016 at 11:59:03AM +0100, Eric Engestrom wrote: >> On Fri, Sep 16, 2016 at 03:37:37PM -0700, Yong Bakos wrote: >>> From: Yong Bakos >>> >>> Explicitly set the data member to NULL during wl_array_release, preventing >>> the