-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEE_ResetPersistentObjectEnumerator() crashed TA #1417
Comments
Hi @invhchan, No it's not. Can you try with the latest optee_os? Otherwise please give us some more details, and if possible, a test case to reproduce the issue. |
Hi, Using the hello world example: Calling get_enumerator() at the entry point of TA would cause the crash:
} #define DEFAULT_STORAGE_ID TEE_STORAGE_PRIVATE
} Error log: |
Hi @invhchan, Thanks for providing some test code, I can reproduce the crash. I'll look into it. |
An object enumerator that has just been allocated or reset has its fops field set to NULL. So, syscall_storage_reset_enum() must take care of this. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Fixes: OP-TEE#1417
An object enumerator that has just been allocated or reset has its fops field set to NULL. So, syscall_storage_reset_enum() must take care of this. Fixes: OP-TEE#1417 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
An object enumerator that has just been allocated or reset has its fops field set to NULL. So, syscall_storage_reset_enum() must take care of this. Fixes: OP-TEE/optee_os#1417 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Hi,
With linaro version 16.06, TA is crashed when TEE_ResetPersistentObjectEnumerator() is called, is it a known issue?
Thanks,
Humane
The text was updated successfully, but these errors were encountered: