Commit a73ed097 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

base: genlock: Check for instances where handle is NULL



Check for the possibility of NULL handles passed into the
in-kernel API functions and return error where appropriate.
There is a non-zero chance that the private_data will be
cleared while the FD is still active, so check in the ioctl()
function as well.

CRs-fixed: 332835
Change-Id: Ic0dedbada2713080fef79ca188a87c578bec6d2f
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 1484f46c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment