Re: [PATCH v2] media: vsp1: dl: Fix NULL pointer dereference on unbind

2020-06-06 Thread Laurent Pinchart
Hi Eugeniu, Thank you for the patch. Mauro, there's a question for you below. On Tue, Jun 02, 2020 at 09:50:16PM +0200, Eugeniu Rosca wrote: > In commit f3b98e3c4d2e16 ("media: vsp1: Provide support for extended > command pools"), the vsp pointer used for referencing the VSP1 device > structure

[PATCH v2] media: vsp1: dl: Fix NULL pointer dereference on unbind

2020-06-02 Thread Eugeniu Rosca
In commit f3b98e3c4d2e16 ("media: vsp1: Provide support for extended command pools"), the vsp pointer used for referencing the VSP1 device structure from a command pool during vsp1_dl_ext_cmd_pool_destroy() was not populated. Correctly assign the pointer to prevent the following null-pointer-deref