The patch titled ecryptfs: Validate packet length prior to parsing, add comments (fix) has been removed from the -mm tree. Its filename is ecryptfs-validate-packet-length-prior-to-parsing-add-comments-fix.patch This patch was dropped because it was folded into ecryptfs-validate-packet-length-prior-to-parsing-add-comments.patch ------------------------------------------------------ Subject: ecryptfs: Validate packet length prior to parsing, add comments (fix) From: Michael Halcrow <mhalcrow@xxxxxxxxxx> Set the packet size to 0 prior to any parse calls. Signed-off-by: Michael Halcrow <mhalcrow@xxxxxxxxxx> Cc: Stephan Mueller <smueller@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ecryptfs/keystore.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/ecryptfs/keystore.c~ecryptfs-validate-packet-length-prior-to-parsing-add-comments-fix fs/ecryptfs/keystore.c --- 25/fs/ecryptfs/keystore.c~ecryptfs-validate-packet-length-prior-to-parsing-add-comments-fix Tue Jun 27 15:09:37 2006 +++ 25-akpm/fs/ecryptfs/keystore.c Tue Jun 27 15:09:37 2006 @@ -191,7 +191,6 @@ parse_tag_3_packet(struct ecryptfs_crypt goto out; } - (*packet_size) = 0; (*new_auth_tok) = NULL; /* check for Tag 3 identifyer - one byte */ @@ -585,7 +584,7 @@ int ecryptfs_parse_packet_set(struct ecr &ecryptfs_superblock_to_private( ecryptfs_dentry->d_sb)->mount_crypt_stat; struct ecryptfs_auth_tok *candidate_auth_tok = NULL; - int packet_size; + int packet_size = 0; struct ecryptfs_auth_tok *new_auth_tok; unsigned char sig_tmp_space[ECRYPTFS_SIG_SIZE]; int tag_11_contents_size; _ Patches currently in -mm which might be from mhalcrow@xxxxxxxxxx are ecryptfs-fs-makefile-and-fs-kconfig.patch ecryptfs-documentation.patch ecryptfs-makefile.patch ecryptfs-main-module-functions.patch ecryptfs-header-declarations.patch ecryptfs-superblock-operations.patch ecryptfs-dentry-operations.patch ecryptfs-file-operations.patch ecryptfs-inode-operations.patch ecryptfs-mmap-operations.patch ecryptfs-keystore.patch ecryptfs-crypto-functions.patch fs-ecryptfs-possible-cleanups.patch ecryptfs-debug-functions.patch ecryptfs-alpha-build-fix.patch ecryptfs-convert-assert-to-bug_on.patch ecryptfs-remove-pointless-bug_ons.patch ecryptfs-remove-unnecessary-null-checks.patch ecryptfs-rewrite-ecryptfs_fsync.patch ecryptfs-overhaul-file-locking.patch ecryptfs-dont-muck-with-the-existing-nameidata-structures.patch ecryptfs-asm-scatterlisth-linux-scatterlisth.patch ecryptfs-support-for-larger-maximum-key-size.patch ecryptfs-add-codes-for-additional-ciphers.patch ecryptfs-unencrypted-key-size-based-on-encrypted-key-size.patch ecryptfs-packet-and-key-management-update-for-variable-key-size.patch ecryptfs-add-ecryptfs_-prefix-to-mount-options-key-size-parameter.patch ecryptfs-set-the-key-size-from-the-default-for-the-mount.patch ecryptfs-check-for-weak-keys.patch ecryptfs-add-define-values-for-cipher-codes-from-rfc2440-openpgp.patch ecryptfs-convert-bits-to-bytes.patch ecryptfs-more-elegant-aes-key-size-manipulation.patch ecryptfs-more-intelligent-use-of-tfm-objects.patch ecryptfs-remove-debugging-cruft.patch ecryptfs-get_sb_dev-fix.patch ecryptfs-validate-minimum-header-extent-size.patch ecryptfs-validate-body-size.patch ecryptfs-validate-packet-length-prior-to-parsing-add-comments.patch ecryptfs-validate-packet-length-prior-to-parsing-add-comments-fix.patch ecryptfs-use-the-passed-in-max-value-as-the-upper-bound.patch ecryptfs-change-the-maximum-size-check-when-writing-header.patch ecryptfs-print-the-actual-option-that-is-problematic.patch ecryptfs-add-a-maintainers-entry.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html