wlan: Adress kernel panic due to improper access of usersapce buffer

Since the userspace buffer passed as an argument to the ioctls
is accessed directly without using the copy_from_user api's may
result in kernel panic.
To mitigate this issue, copy the contents of userspace buffer to
kernel space buffer using copy_from_user api and use the kernel
space buffer for further data manipulation.

Change-Id: I1140e441a01d92f9dac02fbdd8c683402228435a
CRs-Fixed: 816917
1 file changed
tree: 8ed640322c9f98f64ed5562eabeb0ba2cd94efe2
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile