From: Eric Sandeen Date: Sat, 22 Dec 2007 22:03:24 +0000 (-0800) Subject: ecryptfs: fix string overflow on long cipher names X-Git-Tag: v2.6.24-rc7~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b88629060b03adc58639f818fe0968bf5fe81b5d;p=pandora-kernel.git ecryptfs: fix string overflow on long cipher names Passing a cipher name > 32 chars on mount results in an overflow when the cipher name is printed, because the last character in the struct ecryptfs_key_tfm's cipher_name string was never zeroed. Signed-off-by: Eric Sandeen Acked-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed