Re: [PATCH 2/2] strndup_user (v3), convert (keyctl)

From: David Howells
Date: Mon Feb 20 2006 - 05:36:16 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> > I think you should just tell Andrew to drop
> > keys-deal-properly-with-strnlen_user.patch
> > in favor of mine... :-)
>
> No... you've taken out all the checks on lengths on NUL-terminated strings.

I take that back... strndup not strdup.

However, the check on the length of the type is wrong with your patch (and in
the unpatched kernel). Can you pull in that bit from my patch?

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/