Skip to content

Auto-port 5.0: Quic: Fix shadowing of variable which leads to incorrectly handling errors#16627

Merged
chrisvest merged 1 commit into
5.0from
auto-port-pr-16623-to-5.0
Apr 10, 2026
Merged

Auto-port 5.0: Quic: Fix shadowing of variable which leads to incorrectly handling errors#16627
chrisvest merged 1 commit into
5.0from
auto-port-pr-16623-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16623 to 5.0
Cherry-picked commit: 18055b1


Motivation:

We re-delcared the alpn variable and so shadowed the outer variable which lead to not correctly handle freeing of memory in some error cases.

Modifications:

Remove shadowing

Result:

Correctly be able to free memory on error

…rrors (#16623)

Motivation:

We re-delcared the alpn variable and so shadowed the outer variable
which lead to not correctly handle freeing of memory in some error
cases.

Modifications:

Remove shadowing

Result:

Correctly be able to free memory on error

(cherry picked from commit 18055b1)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Apr 10, 2026
@chrisvest chrisvest enabled auto-merge (squash) April 10, 2026 17:09
@chrisvest chrisvest merged commit dbd62f5 into 5.0 Apr 10, 2026
12 of 13 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16623-to-5.0 branch April 10, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants