lkml.org 
[lkml]   [2017]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 1/3] KEYS: fix cred refcount leak in request_key_auth_new()
Date
Eric Biggers <ebiggers3@gmail.com> wrote:

> + rka = kzalloc(sizeof(*rka), GFP_KERNEL);
> + if (!rka)
> + goto error_free_rka;

But you haven't allocated an rka if you're in the error path. I'll fix that
to jump over the release.

David

\
 
 \ /
  Last update: 2017-09-25 16:20    [W:0.056 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site