]> Git Repo - u-boot.git/commit
autoboot: Add check for result of malloc_cache_aligned()
authorMaks Mishin <[email protected]>
Thu, 29 Feb 2024 22:32:11 +0000 (01:32 +0300)
committerTom Rini <[email protected]>
Thu, 7 Mar 2024 12:59:17 +0000 (07:59 -0500)
commit606867c849b48bf10c16877507480269497e8afd
treea237b7837e1664ac0fbd91f35700d058605ff061
parent91febe80c9f2434170c6c2e866942c75372aed75
autoboot: Add check for result of malloc_cache_aligned()

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 <[email protected]>
common/autoboot.c
This page took 0.031558 seconds and 4 git commands to generate.