aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2007-12-22 14:03:24 -0800
committerLinus Torvalds <[email protected]>2007-12-23 12:54:36 -0800
commitb88629060b03adc58639f818fe0968bf5fe81b5d (patch)
tree5ee2455acde11f0f229de31a73a4475df3445e82 /net/unix/sysctl_net_unix.c
parented367fc3a7349b17354c7acef551533337764859 (diff)
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 <[email protected]> Acked-by: Michael Halcrow <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions