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 bug where id not existing in multiplexing map causes panic #16094

Merged
merged 3 commits into from
Jun 22, 2022

Conversation

jasonodonnell
Copy link
Contributor

Guarding against a potential panic if the id does not exist in the connections map. I haven't tracked down why this would occur yet, but this will at least prevent a panic.

@jasonodonnell jasonodonnell added this to the 1.10.5 milestone Jun 21, 2022
@jasonodonnell jasonodonnell requested a review from a team June 21, 2022 19:21
Copy link
Contributor

@swenson swenson left a comment

Choose a reason for hiding this comment

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

LGTM

vault/plugin_catalog.go Show resolved Hide resolved
vault/plugin_catalog.go Outdated Show resolved Hide resolved
Co-authored-by: Calvin Leung Huang <[email protected]>
@jasonodonnell jasonodonnell merged commit 78e4016 into main Jun 22, 2022
@jasonodonnell jasonodonnell deleted the multiplexing-map-panic branch June 22, 2022 18:29
jasonodonnell added a commit that referenced this pull request Jun 22, 2022
* multiplexing: guard against connection panic

* changelog

* Update vault/plugin_catalog.go

Co-authored-by: Calvin Leung Huang <[email protected]>

Co-authored-by: Calvin Leung Huang <[email protected]>
jasonodonnell added a commit that referenced this pull request Jun 22, 2022
* multiplexing: guard against connection panic

* changelog

* Update vault/plugin_catalog.go

Co-authored-by: Calvin Leung Huang <[email protected]>

Co-authored-by: Calvin Leung Huang <[email protected]>
jasonodonnell added a commit that referenced this pull request Jun 22, 2022
… (#16117)

* multiplexing: guard against connection panic

* changelog

* Update vault/plugin_catalog.go

Co-authored-by: Calvin Leung Huang <[email protected]>

Co-authored-by: Calvin Leung Huang <[email protected]>

Co-authored-by: Calvin Leung Huang <[email protected]>
jasonodonnell added a commit that referenced this pull request Jun 22, 2022
… (#16116)

* multiplexing: guard against connection panic

* changelog

* Update vault/plugin_catalog.go

Co-authored-by: Calvin Leung Huang <[email protected]>

Co-authored-by: Calvin Leung Huang <[email protected]>

Co-authored-by: Calvin Leung Huang <[email protected]>
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.

4 participants