Hi Nikhil,
On 12/11/2014 03:56 PM, Sakari Ailus wrote:
> Hi Nikhil,
>
> On Thu, Dec 11, 2014 at 06:37:22PM +0530, Nikhil Devshatwar wrote:
>> vb2_plane_cookie can return NULL if the plane no is greater than
>> total no of planes or when mem_ops are absent.
>>
>> Add NULL check to avoid NULL point
Hi Nikhil,
On Thu, Dec 11, 2014 at 06:37:22PM +0530, Nikhil Devshatwar wrote:
> vb2_plane_cookie can return NULL if the plane no is greater than
> total no of planes or when mem_ops are absent.
>
> Add NULL check to avoid NULL pointer crash in the kernel.
>
> Signed-off-by: Nikhil Devshatwar
>
vb2_plane_cookie can return NULL if the plane no is greater than
total no of planes or when mem_ops are absent.
Add NULL check to avoid NULL pointer crash in the kernel.
Signed-off-by: Nikhil Devshatwar
---
include/media/videobuf2-dma-contig.h |5 -
1 file changed, 4 insertions(+), 1 de