Skip to content

override host lb: harden the override host#45149

Open
wbpcode wants to merge 1 commit into
envoyproxy:mainfrom
wbpcode:dev-improve-override-host
Open

override host lb: harden the override host#45149
wbpcode wants to merge 1 commit into
envoyproxy:mainfrom
wbpcode:dev-improve-override-host

Conversation

@wbpcode
Copy link
Copy Markdown
Member

@wbpcode wbpcode commented May 19, 2026

Commit Message: override host lb: harden the override host
Additional Description:

In the override host, iff we failed to set the filter state (mainly because key collision, because this should never happens in practice), then the override_host_state will point to invalid pointer (use after free/move).

This PR hardened it to at least ensure the override_host_state also be valid.

Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
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.

2 participants