Re: [HIFN 06/n]: Properly handle requests for less than the full scatterlist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 07, 2008 at 02:30:28PM +0200, Patrick McHardy (kaber@xxxxxxxxx) wrote:
>     [HIFN]: Properly handle requests for less than the full scatterlist
>     
>     The scatterlist may contain more data than the crypto request, causing
>     an underflow of the remaining byte count while walking the list.
>     
>     Use the minimum of the scatterlist element size and the remaining byte
>     count specified in the crypto request to avoid this.
>     
>     Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

That one is the nastiest! Thanks a lot Patrick for fixing that.
Ack of course.

-- 
	Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux