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

Fix segfault [issue#1965] #1967

Closed
wants to merge 1 commit into from
Closed

Fix segfault [issue#1965] #1967

wants to merge 1 commit into from

Conversation

DaanA32
Copy link

@DaanA32 DaanA32 commented Jun 19, 2023

Fix segfault issue#1965

Err(_) => param.set_host(domain),
match (domain.parse(), domain.len()) {
(Ok(ip), _) => param.set_ip(ip),
(Err(_), 0) => param.set_host(""),
Copy link
Owner

@sfackler sfackler Jun 19, 2023

Choose a reason for hiding this comment

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

The problem is in set_host, not here. See #1968.

Copy link
Author

Choose a reason for hiding this comment

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

Agreed :) This is a simple solution, but does not fix the core issue.

@DaanA32
Copy link
Author

DaanA32 commented Jun 19, 2023

Closed by #1968

@DaanA32 DaanA32 closed this Jun 19, 2023
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