From: Jens Axboe Date: Fri, 8 Feb 2008 16:49:14 +0000 (-0800) Subject: splice: missing user pointer access verification X-Git-Tag: v2.6.25-rc1~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8811930dc74a503415b35c4a79d14fb0b408a361;p=pandora-kernel.git splice: missing user pointer access verification 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 Cc: Wojciech Purczynski Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed