Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b91b91be authored by Mahesh Voorugonda's avatar Mahesh Voorugonda
Browse files

msm: vidc: Fix possible NULL pointer dereference



Added NULL pointer check for platform_data structure to avoid NULL
pointer dereference error. platform_data is initialized with return 
value (driver_data) of vidc_get_drv_data() fucntion where driver_data is 
initialized with NULL pointer at the beginning.

Change-Id: I24743cc6ed7ffcfa40feca2307c9b1728b5bc152
Signed-off-by: default avatarMahesh Voorugonda <mvoorugo@codeaurora.org>
parent 1a661700
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment