From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Date: Fri, 27 May 2016 14:02:36 +0000 Subject: Re: [patch] KEYS: potential uninitialized variable Message-Id: <30051.1464357756@warthog.procyon.org.uk> List-Id: References: <20160526064559.GA6738@mwanda> In-Reply-To: <20160526064559.GA6738@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org Dan Carpenter wrote: > If __key_link_begin() failed then "edit" would be uninitialized. I've > added a check to fix that. > > Fixes: f70e2e06196a ('KEYS: Do preallocation for __key_link()') > Signed-off-by: Dan Carpenter Applied.