From: Ramon de Carvalho Valle Date: Tue, 28 Jul 2009 18:58:22 +0000 (-0500) Subject: eCryptfs: parse_tag_3_packet check tag 3 packet encrypted key size X-Git-Tag: v2.6.31-rc5~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f151cd2c54ddc7714e2f740681350476cda03a28;p=pandora-kernel.git eCryptfs: parse_tag_3_packet check tag 3 packet encrypted key size The parse_tag_3_packet function does not check if the tag 3 packet contains a encrypted key size larger than ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES. Signed-off-by: Ramon de Carvalho Valle [tyhicks@linux.vnet.ibm.com: Added printk newline and changed goto to out_free] Signed-off-by: Tyler Hicks Cc: stable@kernel.org (2.6.27 and 30) Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed