git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad...
[pandora-kernel.git]
/
fs
/
compat.c
diff --git
a/fs/compat.c
b/fs/compat.c
index
f0b391c
..
6490d21
100644
(file)
--- a/
fs/compat.c
+++ b/
fs/compat.c
@@
-626,7
+626,7
@@
ssize_t compat_rw_copy_check_uvector(int type,
tot_len += len;
if (tot_len < tmp) /* maths overflow on the compat_ssize_t */
goto out;
- if (!access_ok(vrfy_dir(type),
buf
, len)) {
+ if (!access_ok(vrfy_dir(type),
compat_ptr(buf)
, len)) {
ret = -EFAULT;
goto out;
}