summaryrefslogtreecommitdiffstats
path: root/drivers/char/vt.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-01-16 04:40:54 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2009-01-27 07:11:13 +0100
commitbac1b5c4696f217afeac5b29874a337bc39da717 (patch)
tree7e13f7953ea27cff00ef5e45a3fd8e7dac4ea95a /drivers/char/vt.c
parentcrypto: authenc - Fix zero-length IV crash (diff)
downloadlinux-bac1b5c4696f217afeac5b29874a337bc39da717.tar.xz
linux-bac1b5c4696f217afeac5b29874a337bc39da717.zip
crypto: blkcipher - Fix WARN_ON handling in walk_done
When we get left-over bits from a slow walk, it means that the underlying cipher has gone troppo. However, as we're handling that case we should ensure that the caller terminates the walk. This patch does this by setting walk->nbytes to zero. Reported-by: Roel Kluin <roel.kluin@gmail.com> Reported-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/vt.c')
0 files changed, 0 insertions, 0 deletions