[PATCH net] rxrpc: Fix memory leak in rxkad_verify_response()
David Miller
davem at davemloft.net
Thu Aug 27 16:00:05 EDT 2020
From: David Howells <dhowells at redhat.com>
Date: Thu, 27 Aug 2020 16:55:46 +0100
> From: Dinghao Liu <dinghao.liu at zju.edu.cn>
>
> Fix a memory leak in rxkad_verify_response() whereby the response buffer
> doesn't get freed if we fail to allocate a ticket buffer.
>
> Fixes: ef68622da9cc ("rxrpc: Handle temporary errors better in rxkad security")
> Signed-off-by: Dinghao Liu <dinghao.liu at zju.edu.cn>
> Signed-off-by: David Howells <dhowells at redhat.com>
Applied, thank you.
More information about the linux-afs
mailing list