Skip to content

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

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

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions