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

KeInitializeSemaphore leaks handles #95

Open
Alan-Jowett opened this issue Aug 27, 2023 · 0 comments
Open

KeInitializeSemaphore leaks handles #95

Alan-Jowett opened this issue Aug 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Alan-Jowett
Copy link
Member

The kernel version of KeInitializeSemaphore does not require an OS allocation and doesn't have a cleanup function.

The functionality can be implemented with a spinlock and WaitOnAddress/WakeByAddressAll.

@dthaler dthaler added the enhancement New feature or request label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants