mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Sashiko (locally) reports a possible null dereference under memory
pressure due to the lack of validation of the allocated pointer.
Fix that by adding the missing check.
Fixes: 2b78d79cdf ("optee: FF-A: dynamic protected memory allocation")
Signed-off-by: Mostafa Saleh <[email protected]>
Signed-off-by: Sebastian Ene <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
Reviewed-by: Sebastian Ene <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>