Searched hist:"38916 b4b42172bdcffe69f23f32fe690f171616d" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_svc_storage.c | 38916b4b42172bdcffe69f23f32fe690f171616d Mon Jul 25 12:17:48 UTC 2016 Jerome Forissier <jerome.forissier@linaro.org> storage: return TEE_ERROR_ITEM_NOT_FOUND when storage ID is unknown
As per the GP specification for functions TEE_OpenPersistentObject(), TEE_CreatePersistentObject() and TEE_StartPersitetntObjectEnumerator(), return TEE_ERROR_ITEM_NOT_FOUND when the storage ID is invalid instead of TEE_ERROR_STORAGE_NOT_AVAILABLE.
Note: The code modified in this commit cannot currently be reached because libutee rejects invalid storage IDs with TEE_ERROR_ITEM_NOT_FOUND already. But a patch is on the way [1] that will remove this user-mode test, so fix the bug before it can happen.
[1] https://github.com/OP-TEE/optee_os/pull/938
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
|