commit | ec7d1095d93c908f995be0ced57c7309f133d28f | [log] [tgz] |
---|---|---|
author | Mahesh A Saptasagar <c_msapta@qti.qualcomm.com> | Thu Apr 02 13:41:34 2015 +0530 |
committer | Satyanarayana Dash <c_sadash@qti.qualcomm.com> | Fri Apr 10 12:45:53 2015 +0530 |
tree | 8ed640322c9f98f64ed5562eabeb0ba2cd94efe2 | |
parent | ffc00b18d55b66cddaf9da296b74b01c38a7b4d2 [diff] |
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