Re: [Xen-devel] [PATCH] xen/pciback: Check dev_data before using it

2018-12-17 Thread Boris Ostrovsky
On 12/14/18 7:55 AM, Ross Lagerwall wrote: > If pcistub_init_device fails, the release function will be called with > dev_data set to NULL. Check it before using it to avoid a NULL pointer > dereference. > > Signed-off-by: Ross Lagerwall I think this should go to stable trees too (copying them)

Re: [Xen-devel] [PATCH] xen/pciback: Check dev_data before using it

2018-12-14 Thread Boris Ostrovsky
On 12/14/18 7:55 AM, Ross Lagerwall wrote: > If pcistub_init_device fails, the release function will be called with > dev_data set to NULL. Check it before using it to avoid a NULL pointer > dereference. > > Signed-off-by: Ross Lagerwall Reviewed-by: Boris Ostrovsky