[PATCH] common: fix: add NULL checks for malloc_cache_aligned in

Tom Rini trini at konsulko.com
Tue Feb 11 15:18:02 CET 2025


On Fri, 07 Feb 2025 00:55:21 +0300, Anton Moryakov wrote:

> - Check return value of malloc_cache_aligned for presskey and sha.
> - Return -ENOMEM if memory allocation fails.
> - Free allocated memory in error paths."
> 
> Triggers found by static analyzer Svace.
> 
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list