projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7562b
)
ray_cs: Fix copy_from_user handling
author
Alan Cox
<alan@linux.intel.com>
Tue, 27 Oct 2009 15:35:55 +0000
(15:35 +0000)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 29 Oct 2009 16:01:07 +0000
(09:01 -0700)
I've not touched the other stuff here but the word "locking" comes to mind.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/wireless/ray_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ray_cs.c
b/drivers/net/wireless/ray_cs.c
index 88cd58eb3b9f4b42bfc58d55cf8a9026d429a256..1c88c2ea59aa4e605fc738f8adde1e2d01ea26cb 100644
(file)
--- a/
drivers/net/wireless/ray_cs.c
+++ b/
drivers/net/wireless/ray_cs.c
@@
-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;