MLK-10402: v4l2 capture: Check NULL pointer before memory access
Function vb2_plane_vaddr() will return NULL if there is no
kernel virtual address mapping exist for a given plane.
Check the function return value in v4l2 capture driver
before access memory.
Signed-off-by:
Sandor Yu <R01008@freescale.com>
Loading
Please sign in to comment