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:
8dc42f9
)
[PATCH] wrong order of arguments in copy_to_user() in ncpfs
author
Al Viro
<viro@ftp.linux.org.uk>
Mon, 9 Oct 2006 19:24:49 +0000
(20:24 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 9 Oct 2006 21:19:08 +0000
(14:19 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ncpfs/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ncpfs/ioctl.c
b/fs/ncpfs/ioctl.c
index a89ac84a8241a53d4e260deda2ad7d7f8c675255..589d1eac55c1c97499d8b1a13626dde1b869f3f5 100644
(file)
--- a/
fs/ncpfs/ioctl.c
+++ b/
fs/ncpfs/ioctl.c
@@
-726,7
+726,7
@@
outrel:
struct compat_ncp_privatedata_ioctl user32;
user32.len = user.len;
user32.data = (unsigned long) user.data;
- if (copy_to_user(
&user32, argp
, sizeof(user32)))
+ if (copy_to_user(
argp, &user32
, sizeof(user32)))
return -EFAULT;
} else
#endif