Re: [PATCH v2] crypto: talitos - fix bug in sg_copy_end_to_buffer

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

 



On Wed, Jul 14, 2010 at 12:11:27AM +0000, Lee Nipper wrote:
> In function sg_copy_end_to_buffer, too much data
> is copied when a segment in the scatterlist
> has .length greater than the requested copy length.
> 
> This patch adds the limit checks to fix this bug of over copying,
> which affected only the ahash algorithms.
> 
> Signed-off-by: Lee Nipper <lee.nipper@xxxxxxxxx>
> Acked-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>

Applied to crypto-2.6.  Thanks Lee!
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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