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

Commit 575c9ed7 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

ray_cs: Fix copy_from_user handling



I've not touched the other stuff here but the word "locking" comes to mind.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ef7562b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2879,7 +2879,7 @@ static int write_essid(struct file *file, const char __user *buffer,
		       unsigned long count, void *data)
{
	static char proc_essid[33];
	int len = count;
	unsigned int len = count;

	if (len > 32)
		len = 32;