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

Fix worker event handle leak in MsQuic!RegistrationClose #3694

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

Techwolfy
Copy link
Contributor

The QUIC_WORKER Worker->Ready event handle is created unconditionally in QuicWorkerInitialize, but only closed if (!Worker->IsExternal) in QuicWorkerUninitialize. The handle is leaked in other cases.

This leak was detected by AppVerifier in the HTTP.SYS tests.

@Techwolfy Techwolfy requested a review from a team as a code owner June 12, 2023 22:40
Copy link
Member

@nibanks nibanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nibanks nibanks added the Area: Core Related to the shared, core protocol logic label Jun 12, 2023
@nibanks nibanks merged commit 88f0269 into microsoft:main Jun 12, 2023
245 of 257 checks passed
@Techwolfy Techwolfy deleted the msquic-fix-worker-leak branch June 13, 2023 00:17
@Techwolfy Techwolfy restored the msquic-fix-worker-leak branch June 13, 2023 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Core Related to the shared, core protocol logic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants