Commit 337944af authored by Sandor Yu's avatar Sandor Yu Committed by Nitin Garg
Browse files

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: default avatarSandor Yu <R01008@freescale.com>
parent 43248aea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment