Skip to content
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

pkcs11_1007: close session before trying new ones #758

Merged
merged 1 commit into from
Sep 9, 2024

Commits on Sep 9, 2024

  1. pkcs11_1007: close sessions before trying new ones

    Close opened sessions after secure service memory is exhausted before
    testing closure on invalid session. This change attempts to fix a
    non systematic issue found as described in [1].
    
    A test case is slightly changed: where a likely invalid session
    ID (valid ID + 1024) was tried to be closed, this change now
    tries to close a session that has been already closed.
    
    Link: OP-TEE/optee_os#6952 [1]
    Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
    Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
    etienne-lms committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    03d6783 View commit details
    Browse the repository at this point in the history