Closed rdhobi closed 6 years ago
Hi @rdhobi,
secure_storage: do not store object ID in shared memory
The object_id in create/open/rename functions is not allowed to reside in the shared memory according to [1].
Fixes: https://github.com/linaro-swg/optee_examples/issues/29 Link: [1] https://github.com/OP-TEE/optee_os/commit/e091b079 Link: [2] https://github.com/OP-TEE/optee_test/commit/9811a80d Signed-off-by: Rahul Dhobi rdhobi@slscorp.com
2. `obj_id` has to be freed somewhere...
@jforissier : Thanks for pointing out :+1:
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
@jforissier: Can you please merge this commit to master branch?
@rdhobi sure, would you please add my Reviewed-by:
and force push? Thanks.
@rdhobi thanks, actually @igoropaniuk is the main maintainer of this project and usually merges the PRs -- Igor, I let you merge this?
@rdhobi could you please rebase on the latest master? Thanks
@igoropaniuk Done. Thanks!!
merged, thanks!
…ead of shared memory
The object_id in create/open/rename functions is not allowed to reside in the shared memory according to https://github.com/OP-TEE/optee_os/commit/e091b079d91b04e03ed4c465d61d63e044539b09
Fixes: https://github.com/linaro-swg/optee_examples/issues/29 Link: [1] https://github.com/OP-TEE/optee_os/commit/e091b079d91b04e03ed4c465d61d63e044539b09 Link: [2] https://github.com/OP-TEE/optee_test/commit/9811a80d
Signed-off-by: Rahul Dhobi rdhobi@slscorp.com