Commit 5c09d96b authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] wrong order of arguments in copy_to_user() in ncpfs

Signed-off-by: default avatarAl Viro <>
Signed-off-by: default avatarLinus Torvalds <>
parent 8dc42f9e
......@@ -726,7 +726,7 @@ outrel:
struct compat_ncp_privatedata_ioctl user32;
user32.len = user.len; = (unsigned long);
if (copy_to_user(&user32, argp, sizeof(user32)))
if (copy_to_user(argp, &user32, sizeof(user32)))
return -EFAULT;
} else
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment