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

socket-nif: Fix string argument passing for setsockopt #2600

Merged
merged 1 commit into from
Apr 22, 2020

Conversation

RoadRunnr
Copy link
Contributor

When passing a string into setsockopt we have to use the pointer to
the string, not a pointer to a pointer.

Affects the socket bindtodevice and tcp congestion option.

When passing a string into setsockopt we have to use the pointer to
the string, not a pointer to a pointer.

Affects the socket bindtodevice and tcp congestion option.
@RoadRunnr
Copy link
Contributor Author

Note: the same fix should IMHO also be applied to all 22.x releases.

@IngelaAndin IngelaAndin added team:PS Assigned to OTP team PS waiting waiting for changes/input from author and removed waiting waiting for changes/input from author labels Apr 21, 2020
@bmk bmk added the testing currently being tested, tag is used by OTP internal CI label Apr 21, 2020
@bmk bmk merged commit 3fc3fc6 into erlang:master Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants