Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async_tcp_client: fix debug log #32199

Merged
merged 5 commits into from
Feb 8, 2024
Merged

Conversation

ohadvano
Copy link
Contributor

@ohadvano ohadvano commented Feb 5, 2024

Additional Description: If AsyncTcpClientImpl is not called with connect() during the connect_timeout period, the connection_ object is nullptr. If debug logs are enabled, the modified line causes seg fault
Risk Level: low
Testing: none
Docs Changes: none
Release Notes: none
Platform Specific Features: none

Signed-off-by: ohadvano <49730675+ohadvano@users.noreply.github.com>
Signed-off-by: ohadvano <49730675+ohadvano@users.noreply.github.com>
Copy link
Member

@botengyao botengyao left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix!

@botengyao
Copy link
Member

/retest

Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this!
Coverage CI failure seems related.

@ggreenway
Copy link
Contributor

@ohadvano there was a coverage issue that I think was fixed in main yesterday. Can you merge main to fix CI? /wait

@ggreenway ggreenway enabled auto-merge (squash) February 8, 2024 17:07
@ggreenway ggreenway merged commit 5eaa5f9 into envoyproxy:main Feb 8, 2024
53 of 54 checks passed
@ohadvano ohadvano deleted the fix_debug_log branch February 8, 2024 21:14
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.

4 participants