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

CURLOPT_ADDRESS_SCOPE: fix range check and more #3765

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Apr 11, 2019

Commit 9081014 fixed most of the confusing issues between scope id and scope however 844896d added bad limits checking assuming that the scope is being set and not the scope id.

I have fixed the documentation so it all refers to scope ids.

In addition Curl_if2ip referred to the scope id as remote_scope_id which is incorrect, so I renamed it to local_scope_id.

Closes #3655

(I took that PR, squashed it and fixed some nits and push it here to make sure the CI likes it)

@danielgustafsson
Copy link
Member

This was discussed on IRC, there is an indication in https://curl.haxx.se/dev/log.cgi?id=20190412030334-23906#prob1 that this might cause a segfault in test 1521

Commit 9081014 fixed most of the confusing issues between scope id and
scope however 844896d added bad limits checking assuming that the scope
is being set and not the scope id.

I have fixed the documentation so it all refers to scope ids.

In addition Curl_if2ip refered to the scope id as remote_scope_id which
is incorrect, so I renamed it to local_scope_id.

Closes #3655
@bagder bagder closed this in c3e38a4 Apr 13, 2019
@bagder bagder deleted the bagder/address-scope branch April 13, 2019 09:20
@lock lock bot locked as resolved and limited conversation to collaborators Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants