Skip to content

Conversation

ramaraochavali
Copy link
Contributor

Fixes #21508

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
@ramaraochavali ramaraochavali requested a review from a team as a code owner February 26, 2020 14:38
@istio-policy-bot
Copy link

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Feb 26, 2020
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 26, 2020
@ramaraochavali ramaraochavali changed the title handle nil pilot metakey listener: handle nil pilot metakey Feb 26, 2020
@@ -2652,8 +2652,8 @@ func isMatchAllFilterChain(fc *listener.FilterChain) bool {

func isFallthroughFilterChain(fc *listener.FilterChain) bool {
if fc.Metadata != nil && fc.Metadata.FilterMetadata != nil &&
fc.Metadata.FilterMetadata[PilotMetaKey].Fields["fallthrough"].GetBoolValue() {
Copy link
Member

Choose a reason for hiding this comment

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

This could be fc.Metadata.FilterMetadata[PilotMetaKey].GetFields()["fallthrough"].GetBoolValue() { I think since gogo does nil checks

@istio-testing istio-testing merged commit 49a5544 into istio:master Feb 26, 2020
@ramaraochavali ramaraochavali deleted the fix/pilot_segv branch February 27, 2020 03:10
@ramaraochavali
Copy link
Contributor Author

/cherrypick/release-1.5

@istio-testing
Copy link
Collaborator

In response to a cherrypick label: new pull request created: #21570

@pmoncadaisla
Copy link

Hi, @ramaraochavali is this going to be backported to 1.4 ?

@ramaraochavali
Copy link
Contributor Author

@pmoncadaisla It is already backported to 1.4 via this #21514

@pmoncadaisla
Copy link

Hi @ramaraochavali, it was merged in release-1.4, but still no 1.4.7 that includes it.
Thanks!

@ramaraochavali
Copy link
Contributor Author

I see. @howardjohn Do you know when 1.4.7 will be released?

@howardjohn
Copy link
Member

howardjohn commented Mar 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pilot segmentation violation with ports defined in both service and service entry
7 participants