https://github.com/torvalds/linux
Revision bac1b5c4696f217afeac5b29874a337bc39da717 authored by Herbert Xu on 16 January 2009, 03:40:54 UTC, committed by Herbert Xu on 27 January 2009, 06:11:13 UTC
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>
1 parent 29b37f4
History
Tip revision: bac1b5c4696f217afeac5b29874a337bc39da717 authored by Herbert Xu on 16 January 2009, 03:40:54 UTC
crypto: blkcipher - Fix WARN_ON handling in walk_done
Tip revision: bac1b5c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 106.2 KB
Makefile -rw-r--r-- 54.1 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top