diff options
author | Eric Sandeen | 2007-12-22 23:03:24 +0100 |
---|---|---|
committer | Linus Torvalds | 2007-12-23 21:54:36 +0100 |
commit | b88629060b03adc58639f818fe0968bf5fe81b5d (patch) | |
tree | 5ee2455acde11f0f229de31a73a4475df3445e82 /arch | |
parent | quicklists: do not release off node pages early (diff) | |
download | kernel-qcow2-linux-b88629060b03adc58639f818fe0968bf5fe81b5d.tar.gz kernel-qcow2-linux-b88629060b03adc58639f818fe0968bf5fe81b5d.tar.xz kernel-qcow2-linux-b88629060b03adc58639f818fe0968bf5fe81b5d.zip |
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 <sandeen@redhat.com>
Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions