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

[3.8] bpo-38282: Rewrite getsockaddrarg() helper function (GH-16698) #16706

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 10, 2019

Rewrite getsockaddrarg() helper function of socketmodule.c (_socket
module) to prevent a false alarm when compiling codde using GCC with
_FORTIFY_SOURCE=2. Pass a pointer of the sock_addr_t union, rather
than passing a pointer to a sockaddr structure.

Add "struct sockaddr_tipc tipc;" to the sock_addr_t union.
(cherry picked from commit d565fb9)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue38282

Rewrite getsockaddrarg() helper function of socketmodule.c (_socket
module) to prevent a false alarm when compiling codde using GCC with
_FORTIFY_SOURCE=2. Pass a pointer of the sock_addr_t union, rather
than passing a pointer to a sockaddr structure.

Add "struct sockaddr_tipc tipc;" to the sock_addr_t union.
(cherry picked from commit d565fb9)

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner
Copy link
Member

There are failures on FreeBSD. I close the backport.

@vstinner vstinner closed this Oct 10, 2019
@miss-islington miss-islington deleted the backport-d565fb9-3.8 branch October 10, 2019 19:42
@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a failure ❌ .

2 similar comments
@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a failure ❌ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants