Thread (6 messages) 6 messages, 2 authors, 2017-09-25

[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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help