[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111104210055.GK4751@mwanda>
Date: Sat, 5 Nov 2011 00:00:55 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Greg KH <gregkh@...e.de>
Cc: Ben Hutchings <ben@...adent.org.uk>,
Xiaotian Feng <dfeng@...hat.com>,
Jens Axboe <jaxboe@...ionio.com>, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk
Subject: Re: [050/107] block: check for proper length of iov entries earlier
in blk_rq_map_user_iov()
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
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists