From: Jens Axboe Date: Fri, 29 Oct 2010 14:10:18 +0000 (-0600) Subject: block: check for proper length of iov entries in blk_rq_map_user_iov() X-Git-Tag: v2.6.27.57~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a8fd43f43c06d372c6c3f3ae592683cc8603277;p=pandora-kernel.git block: check for proper length of iov entries in blk_rq_map_user_iov() commit 9284bcf4e335e5f18a8bc7b26461c33ab60d0689 upstream. Ensure that we pass down properly validated iov segments before calling into the mapping or copy functions. Reported-by: Dan Rosenberg Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed