Re: [PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Michael Halcrow
On Thu, Jul 19, 2007 at 05:41:16PM -0400, Josef Sipek wrote: > On Thu, Jul 19, 2007 at 04:28:01PM -0500, Michael Halcrow wrote: > > Fix up the Tag 1 parsing code to handle size limits and boundaries > > more explicitly. Initialize the new auth_tok's flags. > ... > > - if (unlikely((*packet_size)

Re: [PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Josef Sipek
On Thu, Jul 19, 2007 at 04:28:01PM -0500, Michael Halcrow wrote: > Fix up the Tag 1 parsing code to handle size limits and boundaries > more explicitly. Initialize the new auth_tok's flags. ... > - if (unlikely((*packet_size) + 3 > max_packet_size)) { > - ecryptfs_printk(KERN_ERR,

[PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Michael Halcrow
Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. Signed-off-by: Michael Halcrow <[EMAIL PROTECTED]> --- fs/ecryptfs/keystore.c | 78 --- 1 files changed, 33 insertions(+), 45

[PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Michael Halcrow
Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/keystore.c | 78 --- 1 files changed, 33 insertions(+), 45

Re: [PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Josef Sipek
On Thu, Jul 19, 2007 at 04:28:01PM -0500, Michael Halcrow wrote: Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. ... - if (unlikely((*packet_size) + 3 max_packet_size)) { - ecryptfs_printk(KERN_ERR,

Re: [PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Michael Halcrow
On Thu, Jul 19, 2007 at 05:41:16PM -0400, Josef Sipek wrote: On Thu, Jul 19, 2007 at 04:28:01PM -0500, Michael Halcrow wrote: Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. ... - if (unlikely((*packet_size) + 3