[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <262bd413-9be4-3abe-9565-ac37a2e2e719@web.de>
Date: Fri, 22 May 2020 08:30:41 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Qiushi Wu <wu000273@....edu>, linux-afs@...ts.infradead.org,
netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, David Howells <dhowells@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Kangjie Lu <kjlu@....edu>
Subject: Re: [PATCH] rxrpc: Fix a memory leak in rxkad_verify_response()
> In function rxkad_verify_response(), pointer "ticket" is not released,
> when function rxkad_decrypt_ticket() returns an error, causing a
> memory leak bug.
I suggest to improve also this change description.
How do you think about a wording variant like the following?
A ticket was not released after a call of the function “platform_get_irq” failed.
Thus replace the jump target “temporary_error_free_resp”
by “temporary_error_free_ticket”.
Regards,
Markus
Powered by blists - more mailing lists