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

Using old pointer after reallocating new buffer #2

Open
wants to merge 1 commit into
base: EC_MOCK_PEER
Choose a base branch
from

Commits on Sep 4, 2024

  1. Using old pointer after reallocating new buffer

    Below issue is reported while running TLS1.3:-
    
    p11prov_DeriveKey:Host out of memory
    
    Issue occurs because we are trying to use deallocated memory pointer after
    reallocating new memory due to which key->attrs get corrupted and finally
    cause issue in importing correct peer key.
    
    Signed-off-by: Kshitiz Varshney <[email protected]>
    kshitizvars committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d9e9f47 View commit details
    Browse the repository at this point in the history