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

2010-07-19 Thread Herbert Xu
On Wed, Jul 14, 2010 at 12:11:27AM +, 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

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

2010-07-13 Thread Lee Nipper
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