Skip to content

backport to 1.16: test: avoid use after free in oauth_integration_test (#14103)#14109

Closed
antoniovicente wants to merge 1 commit intoenvoyproxy:release/v1.16from
antoniovicente:deflake_oauth_integration_test_v1.16
Closed

backport to 1.16: test: avoid use after free in oauth_integration_test (#14103)#14109
antoniovicente wants to merge 1 commit intoenvoyproxy:release/v1.16from
antoniovicente:deflake_oauth_integration_test_v1.16

Conversation

@antoniovicente
Copy link
Contributor

The client request stream can be deleted under the call stack of Envoy::IntegrationCodecClient::startRequest if the proxy replies quickly enough. Attempts to send an end stream on that request result in use-after-free on the client stream in cases where the client processed the full reply inside startRequest.

Fixes #12960

Signed-off-by: Antonio Vicente avd@google.com

The client request stream can be deleted under the call stack of Envoy::IntegrationCodecClient::startRequest if the proxy replies quickly enough. Attempts to send an end stream on that request result in use-after-free on the client stream in cases where the client processed the full reply inside startRequest.

Fixes envoyproxy#12960

Signed-off-by: Antonio Vicente <avd@google.com>
@antoniovicente
Copy link
Contributor Author

Addressed by #14127

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