From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 8 Jul 2020 20:23:58 -0400 Subject: [PATCH v6 5/8] lib: rsa: free local arrays after use in rsa_gen_key_prop() In-Reply-To: <20200618142328.1753036-5-heiko@sntech.de> References: <20200618142328.1753036-1-heiko@sntech.de> <20200618142328.1753036-5-heiko@sntech.de> Message-ID: <20200709002358.GN1306@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 18, 2020 at 04:23:25PM +0200, Heiko Stuebner wrote: > From: Heiko Stuebner > > n, rr and rrtmp are used for internal calculations, but in the end > the results are copied into separately allocated elements of the > actual key_prop, so the n, rr and rrtmp elements are not used anymore > when returning from the function and should of course be freed. > > Signed-off-by: Heiko Stuebner > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: