msm: qdsp5: Update code to avoid access userspace data
Copy userspace data to kernel and then access the data
to avoid invalid pointer access issue.
Also, prevent use of uninitialized variables by checking
sscanf return value.
CRs-Fixed: 547923
Change-Id: Ic5426ca7a48f178fe1a47c5296ec93e8ce0bc793
Signed-off-by:
Laxminath Kasam <lkasam@codeaurora.org>
Loading
Please register or sign in to comment