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 <[email protected]>
[[email protected]: Added printk newline and changed goto to out_free]
Signed-off-by: Tyler Hicks <[email protected]>
Cc: [email protected] (2.6.27 and 30)
Signed-off-by: Linus Torvalds <[email protected]>
1 file changed