Skip to content

Conversation

@dovydenkovas
Copy link
Contributor

The storePath file is opened in the line DIR* trustDir = opendir(storePath); and should be closed when the function returns on case of out of memory.

Signed-off-by: Aleksandr Dovydenkov [email protected].
Found by Linux Verification Center (linuxtesting.org) with SVACE.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Dec 29, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

The storePath file is open and should be closed on out of memory.
@dovydenkovas dovydenkovas force-pushed the fix-file-descriptor-leak branch from 8b61fa8 to f15fa9e Compare December 30, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Security community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants