diff options
author | Lee Nipper <lee.nipper@gmail.com> | 2010-07-19 08:11:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-19 08:11:24 +0200 |
commit | 7260042b2d0397e7a8735ca47cd7839a5bb1210b (patch) | |
tree | da92181f60f67f1e82378e59edfd13def6a51fe7 /drivers/video/vgastate.c | |
parent | crypto: skcipher - avoid NULL dereference (diff) | |
download | linux-7260042b2d0397e7a8735ca47cd7839a5bb1210b.tar.xz linux-7260042b2d0397e7a8735ca47cd7839a5bb1210b.zip |
crypto: talitos - fix bug in sg_copy_end_to_buffer
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@gmail.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/video/vgastate.c')
0 files changed, 0 insertions, 0 deletions