From: Andre Osterhues Date: Tue, 13 Jul 2010 20:59:17 +0000 (-0500) Subject: ecryptfs: Bugfix for error related to ecryptfs_hash_buckets X-Git-Tag: v2.6.27.49~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae78a9ae2391bebf1b0ad0ff38b5a9cff3130a3e;p=pandora-kernel.git ecryptfs: Bugfix for error related to ecryptfs_hash_buckets commit a6f80fb7b5986fda663d94079d3bba0937a6b6ff upstream. 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 Signed-off-by: Tyler Hicks Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed