Thread (3 messages) 3 messages, 3 authors, 2019-11-24

Re: [PATCH] sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook

From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2019-11-23 13:01:20
Also in: linux-sctp, lkml

On Fri, Nov 22, 2019 at 04:17:56PM -0600, Navid Emamdoost wrote:
In the implementation of sctp_sf_do_5_2_4_dupcook() the allocated
new_asoc is leaked if security_sctp_assoc_request() fails. Release it
via sctp_association_free().

Fixes: 2277c7cd75e3 ("sctp: Add LSM hooks")
Signed-off-by: Navid Emamdoost <redacted>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help