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 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus
[pandora-kernel.git]
/
fs
/
splice.c
diff --git
a/fs/splice.c
b/fs/splice.c
index
14e2262
..
9b559ee
100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-1234,7
+1234,7
@@
static int get_iovec_page_array(const struct iovec __user *iov,
if (unlikely(!len))
break;
error = -EFAULT;
- if (
unlikely(!base
))
+ if (
!access_ok(VERIFY_READ, base, len
))
break;
/*