Skip to content

[1.18] apple dns: fix crash on invalid dns name (#16028) - #16662

Merged
mattklein123 merged 2 commits into
envoyproxy:release/v1.18from
dmitri-d:1.18-fix-crash-apple-dns
Jun 4, 2021
Merged

mattklein123 merged 2 commits into
envoyproxy:release/v1.18from
dmitri-d:1.18-fix-crash-apple-dns

Conversation

@dmitri-d

Copy link
Copy Markdown
Contributor

This is a cherry-pick of #16028

@junr03

junr03 commented May 26, 2021

Copy link
Copy Markdown
Member

This diff can still crash. This is the final patch: #16369

Commit Message: apple dns - fix interface issue with localhost lookup
Additional Description: deleting ENVOY_BUG statement, as localhost dns resolution renders a valid non-zero interface index.
Risk Level: low
Testing: fixed previously existing test that did not have a run block.

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Dmitri Dolguikh <[email protected]>
@dmitri-d

Copy link
Copy Markdown
Contributor Author

Cherry-picked #16369 instead of the original #16028

@junr03

junr03 commented May 27, 2021

Copy link
Copy Markdown
Member

@dmitri-d missing the assert deletion:

RELEASE_ASSERT(interface_index == 0,

@junr03

junr03 commented Jun 4, 2021

Copy link
Copy Markdown
Member

@envoyproxy/security-team can someone with permissions merge?

@mattklein123
mattklein123 merged commit 8c8dbcb into envoyproxy:release/v1.18 Jun 4, 2021
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.

3 participants