Re: [050/107] block: check for proper length of iov entries earlierin blk_rq_map_user_iov()

From: Dan Carpenter
Date: Fri Nov 04 2011 - 17:00:44 EST


On Fri, Nov 04, 2011 at 01:28:06PM -0700, Greg KH wrote:
> Doesn't this still fix one issue here, just not both of them described,
> right?

Not really.

We've got a list from 0 - 100. We should be checking them all.
If number 50 is unaligned in the old version we would check 0 - 50,
but with this patch applied we check from 0 to 51.

regards,
dan carpenter

Attachment: signature.asc
Description: Digital signature