git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66191dc
)
splice: missing user pointer access verification
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 8 Feb 2008 16:49:14 +0000
(08:49 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:25:01 +0000
(09:25 -0800)
vmsplice_to_user() must always check the user pointer and length
with access_ok() before copying. Likewise, for the slow path of
copy_from_user_mmap_sem() we need to check that we may read from
the user region.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Wojciech Purczynski <cliph@research.coseinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/splice.c
patch
|
blob
|
history
diff --cc
fs/splice.c
Simple merge