Skip to content

Backport of fix panic in injectSANMatcher when tlsContext is nil into release/1.15.x#17189

Merged
hc-github-team-consul-core merged 1 commit intorelease/1.15.xfrom
backport/fix-xds-panic/vaguely-living-quetzal
Apr 30, 2023
Merged

Backport of fix panic in injectSANMatcher when tlsContext is nil into release/1.15.x#17189
hc-github-team-consul-core merged 1 commit intorelease/1.15.xfrom
backport/fix-xds-panic/vaguely-living-quetzal

Conversation

@hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #17185 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Description

We frequently call injectSANMatcher like this. The code panics when commonTLSContext is nil inside injectSANMatcher here. makeCommonTLSContext returns nil when it isn't passed root pems.


Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/fix-xds-panic/vaguely-living-quetzal branch from 65f48d9 to 7869173 Compare April 28, 2023 20:28
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) April 28, 2023 20:28
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/fix-xds-panic/vaguely-living-quetzal branch from ee06bca to c295342 Compare April 28, 2023 20:28
Copy link
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@github-actions github-actions bot added the theme/envoy/xds Related to Envoy support label Apr 28, 2023
@hc-github-team-consul-core hc-github-team-consul-core merged commit 0045304 into release/1.15.x Apr 30, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/fix-xds-panic/vaguely-living-quetzal branch April 30, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme/envoy/xds Related to Envoy support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants