Skip to content
Commit 606867c8 authored by Maks Mishin's avatar Maks Mishin Committed by Tom Rini
Browse files

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: default avatarMaks Mishin <maks.mishinFZ@gmail.com>
parent 91febe80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment