radio-iris: Use copy_from_user API to access userspace memory

Directly accessing userspace memory pointer in kernel space without
checking validity of pointer. This can lead to security vulnerability.
Use copy_from_user API's to make sure there is no illegal memory access.

Bug: 36386593
Change-Id: I66a0b1931814ee19634a30dee02a5600066aa70b
Signed-off-by: Kamal Negi <kamaln@codeaurora.org>
1 file changed