Re: [PATCH] crypto_user: Fix out-of-bounds read

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 08:48:34AM -0700, Andy Lutomirski wrote: > BUILD_BUG_ON(NLMSG_MIN_TYPE != CRYPTO_MSG_BASE) might be a better > thing to add, then. I don't have a strong opinion. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] crypto_user: Fix out-of-bounds read

2014-04-23 Thread Andy Lutomirski
On Apr 23, 2014 4:40 AM, "Dan Carpenter" wrote: > > On Tue, Apr 22, 2014 at 12:30:28PM -0700, Andy Lutomirski wrote: > > This is unlikely to be exploitable for anything except an OOPS. > > > > Cc: sta...@vger.kernel.org > > Signed-off-by: Andy Lutomirski > > --- > > > > Notes: > > This is ent

Re: [PATCH] crypto_user: Fix out-of-bounds read

2014-04-23 Thread Dan Carpenter
On Tue, Apr 22, 2014 at 12:30:28PM -0700, Andy Lutomirski wrote: > This is unlikely to be exploitable for anything except an OOPS. > > Cc: sta...@vger.kernel.org > Signed-off-by: Andy Lutomirski > --- > > Notes: > This is entirely untested, but it looks obviously correct to me. > > crypto/

[PATCH] crypto_user: Fix out-of-bounds read

2014-04-22 Thread Andy Lutomirski
This is unlikely to be exploitable for anything except an OOPS. Cc: sta...@vger.kernel.org Signed-off-by: Andy Lutomirski --- Notes: This is entirely untested, but it looks obviously correct to me. crypto/crypto_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cry