[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1484575130.5538.2.camel@linux.vnet.ibm.com>
Date: Mon, 16 Jan 2017 08:58:50 -0500
From: Mimi Zohar <zohar@...ux.vnet.ibm.com>
To: David Howells <dhowells@...hat.com>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
David Safford <safford@...ibm.com>,
James Morris <james.l.morris@...cle.com>,
"Serge E. Hallyn" <serge@...lyn.com>,
linux-security-module@...r.kernel.org, keyrings@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] KEYS: Fix an error code in request_master_key()
On Thu, 2017-01-12 at 13:08 +0000, David Howells wrote:
> Mimi Zohar <zohar@...ux.vnet.ibm.com> wrote:
>
> > On Fri, 2016-12-16 at 12:08 +0300, Dan Carpenter wrote:
> > > This function has two callers and neither are able to handle a NULL
> > > return. Really, -EINVAL is the correct thing return here anyway. This
> > > fixes some static checker warnings like:
> > >
> > > security/keys/encrypted-keys/encrypted.c:709 encrypted_key_decrypt()
> > > error: uninitialized symbol 'master_key'.
> > >
> > > Fixes: 7e70cb497850 ("keys: add new key-type encrypted")
> > > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> >
> > Thanks!
>
> Can I put that down as an Acked-by or Reviewed-by?
Feel free to add by "Acked-by" on both this patch and Dan's other patch
"KEYS: Use memzero_explicit() for secret data".
Mimi
Powered by blists - more mailing lists