block: take care not to overflow when calculating total iov length
authorJens Axboe <jaxboe@fusionio.com>
Fri, 29 Oct 2010 17:31:42 +0000 (11:31 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 10 Nov 2010 13:40:42 +0000 (14:40 +0100)
commit9f864c80913467312c7b8690e41fb5ebd1b50e92
treedea8f56529d175bc2b666b52d2f819c82abc3a19
parent9284bcf4e335e5f18a8bc7b26461c33ab60d0689
block: take care not to overflow when calculating total iov length

Reported-by: Dan Rosenberg <drosenberg@vsecurity.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/scsi_ioctl.c