Skip to content
Commit c8038c62 authored by Anandu Krishnan E's avatar Anandu Krishnan E
Browse files

dsp-kernel: Avoid accessing user memory outside uaccess routines


If shell fd is passed as 0 or -1,fastrpc_get_args should not access
file pointer from userspace outside uaccess routines, instead use
copy_from_user to create a local copy of the file, to ensure
proper access.

Change-Id: I9a0fd70c045f445a94b4f147005df47d5bcefc18
Signed-off-by: default avatarAnandu Krishnan E <quic_anane@quicinc.com>
parent f4deae44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment