https://github.com/torvalds/linux
Revision a6f80fb7b5986fda663d94079d3bba0937a6b6ff authored by Andre Osterhues on 13 July 2010, 20:59:17 UTC, committed by Linus Torvalds on 29 July 2010, 02:59:24 UTC
The function ecryptfs_uid_hash wrongly assumes that the
second parameter to hash_long() is the number of hash
buckets instead of the number of hash bits.
This patch fixes that and renames the variable
ecryptfs_hash_buckets to ecryptfs_hash_bits to make it
clearer.

Fixes: CVE-2010-2492

Signed-off-by: Andre Osterhues <aosterhues@escrypt.com>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 6c50e1a
History
Tip revision: a6f80fb7b5986fda663d94079d3bba0937a6b6ff authored by Andre Osterhues on 13 July 2010, 20:59:17 UTC
ecryptfs: Bugfix for error related to ecryptfs_hash_buckets
Tip revision: a6f80fb
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 170.4 KB
Makefile -rw-r--r-- 50.1 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top