[PATCH] autoboot: Add check for result of malloc_cache_aligned()
Tom Rini
trini at konsulko.com
Thu Mar 7 18:12:28 CET 2024
On Fri, Mar 01, 2024 at 01:32:11AM +0300, Maks Mishin wrote:
> Return value of a function 'malloc_cache_aligned'
> is dereferenced at autoboot.c:207 without checking for NULL,
> but it is usually checked for this function.
>
> Found by RASU JSC.
>
> Signed-off-by: Maks Mishin <maks.mishinFZ at gmail.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240307/cc143f70/attachment.sig>
More information about the U-Boot
mailing list