Skip to content
Commit a6751000 authored by Andre Osterhues's avatar Andre Osterhues Committed by Stefan Bader
Browse files

ecryptfs: Bugfix for error related to ecryptfs_hash_buckets



CVE-2010-2492

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.

Signed-off-by: default avatarAndre Osterhues <aosterhues@escrypt.com>
Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
(picked from security list)
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 09c40da0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment