[PATCH v2 1/3] KEYS: fix cred refcount leak in request_key_auth_new()
From: dhowells@redhat.com (David Howells)
Date: 2017-09-25 14:19:00
Also in:
keyrings, lkml
From: dhowells@redhat.com (David Howells)
Date: 2017-09-25 14:19:00
Also in:
keyrings, lkml
Eric Biggers [off-list ref] 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 -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html