diff options
author | Andre Osterhues <aosterhues@escrypt.com> | 2010-07-13 22:59:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-07-29 04:59:24 +0200 |
commit | a6f80fb7b5986fda663d94079d3bba0937a6b6ff (patch) | |
tree | b8a44b0ed1560ae3f00f1ff4e342f43b7422bcc3 /mm/madvise.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag... (diff) | |
download | linux-a6f80fb7b5986fda663d94079d3bba0937a6b6ff.tar.xz linux-a6f80fb7b5986fda663d94079d3bba0937a6b6ff.zip |
ecryptfs: Bugfix for error related to ecryptfs_hash_buckets
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>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions