OP-TEE / optee_os

Trusted side of the TEE
Other
1.56k stars 1.05k forks source link

core: riscv: Zeroize unused parameters before thread_return_to_udomain() #6995

Closed gagachang closed 1 month ago

gagachang commented 1 month ago

Zeroize unused parameters before calling thread_return_to_udomain() to avoid leaking information to the untrusted domain unintentionally.

gagachang commented 1 month ago

Hi @jforissier , I think we are ready to merge this small fix~