Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73399259 authored by Arif Hussain's avatar Arif Hussain
Browse files

wcnss: Data type fix



Which helps us to properly validate
and process user provided data.

Change-Id: I5b49962d8c6b0f99b594576b1172452e93ebef13
CRs-Fixed: 579231
Signed-off-by: default avatarArif Hussain <arifhussain@codeaurora.org>
parent b8a2a10e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2093,7 +2093,7 @@ static ssize_t wcnss_wlan_write(struct file *fp, const char __user
			*user_buffer, size_t count, loff_t *position)
{
	int rc = 0;
	size_t size = 0;
	u32 size = 0;

	if (!penv || !penv->device_opened || penv->user_cal_available)
		return -EFAULT;