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

Add Null check for a function pointer that might not be set #184

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

jmartinez-silabs
Copy link
Collaborator

It is possible that the pkinfo of the used pk context is uninitialized. Add a check to make sure it has a free function before calling it

this fixes MATTER-3426 in the context of provisioned certificates

…d. Add a check to make sure it has a free function before calling it
@jmartinez-silabs jmartinez-silabs merged commit 1edddc9 into main Apr 16, 2024
3 checks passed
@jmartinez-silabs jmartinez-silabs deleted the bugfix/pkfree_check branch April 16, 2024 18:54
jmartinez-silabs added a commit that referenced this pull request Apr 16, 2024
It is possible that the pkinfo of the used pk contect is uninitialized. Add a check to make sure it has a free function before calling it
jmartinez-silabs added a commit that referenced this pull request Apr 16, 2024
)

It is possible that the pkinfo of the used pk contect is uninitialized. Add a check to make sure it has a free function before calling it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants