summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>2009-08-11 09:36:32 +0400
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2009-09-23 18:10:31 +0400
commitb0105eaefa7cce8f4a941d0fc6354b250d30e745 (patch)
tree60bed48ff88aa22d9ee36b64d23421cf9e50d2a8 /fs/ecryptfs/main.c
parent382684984e93039a3bbd83b04d341b0ceb831519 (diff)
downloadlinux-b0105eaefa7cce8f4a941d0fc6354b250d30e745.tar.xz
eCryptfs: Handle unrecognized tag 3 cipher codes
Returns an error when an unrecognized cipher code is present in a tag 3 packet or an ecryptfs_crypt_stat cannot be initialized. Also sets an crypt_stat->tfm error pointer to NULL to ensure that it will not be incorrectly freed in ecryptfs_destroy_crypt_stat(). Acked-by: Serge Hallyn <serue@us.ibm.com> Cc: ecryptfs-devel@lists.launchpad.net Cc: stable <stable@kernel.org> Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ecryptfs/main.c')
0 files changed, 0 insertions, 0 deletions