Home
last modified time | relevance | path

Searched hist:de1cd7220c9b01aef62b89c6ed343e9b627ed180 (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_svc_storage.cde1cd7220c9b01aef62b89c6ed343e9b627ed180 Tue Dec 20 15:38:45 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: syscall_storage_obj_write(): handle corrupt object

All syscalls operating on an object handle and can return
TEE_ERROR_CORRUPT_OBJECT must also remove the object if the return code
is TEE_ERROR_CORRUPT_OBJECT. This is missing in
syscall_storage_obj_write() so add the missing call to remove the object
if it is corrupt.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>