Skip to content

Free the retired chunk in QuicRecvBufferResetRead - #6488

Open
Joel Kiptoo (Kiptoo-Deus) wants to merge 1 commit into
microsoft:mainfrom
Kiptoo-Deus:recv-buffer-reset-read-retired-chunk
Open

Joel Kiptoo (Kiptoo-Deus) wants to merge 1 commit into
microsoft:mainfrom
Kiptoo-Deus:recv-buffer-reset-read-retired-chunk

Conversation

@Kiptoo-Deus

Copy link
Copy Markdown

Cancelling a read left RetiredChunk set with no read pending. A later resize then overwrote it, leaking the chunk (asserting in debug builds). Free it the way QuicRecvBufferDrain does.

Fixes #6473

Description

Describe the purpose of and changes within this Pull Request.

Testing

Do any existing tests cover this change? Are new tests needed?

Documentation

Is there any documentation impact for this change?

Cancelling a read left RetiredChunk set with no read pending. A later
resize then overwrote it, leaking the chunk (asserting in debug builds).
Free it the way QuicRecvBufferDrain does.

Fixes microsoft#6473
@Kiptoo-Deus
Joel Kiptoo (Kiptoo-Deus) requested a review from a team as a code owner November 11, 2026 21:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant