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

Certificate.GetContainersFromCngProvider might leak memory by not freeing enumState #310

Open
e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd opened this issue Nov 7, 2023 · 0 comments
Labels
area-ClickOnce up-for-grabs Good issue for external contributors

Comments

@e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd

Description

The method Certificate.GetContainersFromCngProvider in dotnet-mage does not free the enumState void pointer with NcryptMethods.NCryptFreeBuffer. This might leak memory depending on the implementation of the crypto provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ClickOnce up-for-grabs Good issue for external contributors
Projects
None yet
Development

No branches or pull requests

3 participants