[PATCH] lib: ecdsa: fix prevent memory leak in ecdsa_add_verify_data

Tom Rini trini at konsulko.com
Tue Mar 4 05:41:56 CET 2025


On Fri, 07 Feb 2025 00:47:59 +0300, Anton Moryakov wrote:

> - Ensure `free_ctx` is called in both error and success paths.
> - Fix memory leak in `ctx.signature` when `do_add` fails."
> 
> Triggers found by static analyzer Svace.
> 
> 

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list