summaryrefslogtreecommitdiffstats
path: root/include/asm-sh64/keyboard.h
diff options
context:
space:
mode:
authorHerbert Xu2007-09-09 09:45:21 +0200
committerHerbert Xu2007-09-09 09:45:21 +0200
commite4630f9fd8cdc14eb1caa08dafe649eb5ae09985 (patch)
tree301b4b69b5780ecfa39c9c1f508d57e47da8af29 /include/asm-sh64/keyboard.h
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadkernel-qcow2-linux-e4630f9fd8cdc14eb1caa08dafe649eb5ae09985.tar.gz
kernel-qcow2-linux-e4630f9fd8cdc14eb1caa08dafe649eb5ae09985.tar.xz
kernel-qcow2-linux-e4630f9fd8cdc14eb1caa08dafe649eb5ae09985.zip
[CRYPTO] blkcipher: Fix handling of kmalloc page straddling
The function blkcipher_get_spot tries to return a buffer of the specified length that does not straddle a page. It has an off-by-one bug so it may advance a page unnecessarily. What's worse, one of its callers doesn't provide a buffer that's sufficiently long for this operation. This patch fixes both problems. Thanks to Bob Gilligan for diagnosing this problem and providing a fix. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/asm-sh64/keyboard.h')
0 files changed, 0 insertions, 0 deletions