Skip to content

fix panic in injectSANMatcher when tlsContext is nil#17185

Merged
erichaberkorn merged 1 commit into
mainfrom
fix-xds-panic
Apr 28, 2023
Merged

fix panic in injectSANMatcher when tlsContext is nil#17185
erichaberkorn merged 1 commit into
mainfrom
fix-xds-panic

Conversation

@erichaberkorn
Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the theme/envoy/xds Related to Envoy support label Apr 28, 2023
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.

2 participants