Re: [PATCH] autoboot: Add check for result of malloc_cache_aligned()

2024-03-07 Thread Tom Rini
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 Applied to

[PATCH] autoboot: Add check for result of malloc_cache_aligned()

2024-02-29 Thread Maks Mishin
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 --- common/autoboot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git