Skip to content
Commit 22dd8883 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Chris Friedt
Browse files

drivers: tee: optee: fix possible null pointer dereference



Add check for supp->current being NULL before accessing num_params in
error log.

Prevent potential NULL pointer dereference and crash when invalid
parameter count

Improve error messages for better debugging in cases with no current
request or wrong param count.

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent 56bf288e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment