Skip to content

[v14] Prevent panic in web app transport#35525

Merged
rosstimothy merged 1 commit intobranch/v14from
bot/backport-35501-branch/v14
Dec 7, 2023
Merged

[v14] Prevent panic in web app transport#35525
rosstimothy merged 1 commit intobranch/v14from
bot/backport-35501-branch/v14

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #35501 to branch/v14

changelog: Prevent panic when dialing a deleted Application Server

The case where no app servers were available was not handled and
resulted in exceeding the bounds of the app servers slice. When
no servers are available now the slice is set to nil instead of
trying to shift it beyond the bounds. A test was added to validate
that the panic is not possible any more.

Fixes #35460
@rosstimothy rosstimothy enabled auto-merge December 7, 2023 21:47
@rosstimothy rosstimothy requested a review from r0mant December 7, 2023 21:56
@rosstimothy rosstimothy added this pull request to the merge queue Dec 7, 2023
Merged via the queue into branch/v14 with commit 0f31d47 Dec 7, 2023
@rosstimothy rosstimothy deleted the bot/backport-35501-branch/v14 branch December 7, 2023 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants