Files
Mostafa Saleh 650c88738a optee: ffa: Add NULL check in optee_ffa_lend_protmem
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]>
2026-06-29 08:04:45 +02:00
..
2026-03-04 08:33:31 +01:00