Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
miss-islington wants to merge 1 commit into
python:3.8python/cpython:3.8from
miss-islington:backport-d565fb9-3.8miss-islington/cpython:backport-d565fb9-3.8Copy head branch name to clipboard
Closed

[3.8] bpo-38282: Rewrite getsockaddrarg() helper function (GH-16698)#16706
miss-islington wants to merge 1 commit into
python:3.8python/cpython:3.8from
miss-islington:backport-d565fb9-3.8miss-islington/cpython:backport-d565fb9-3.8Copy head branch name to clipboard

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor Author

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

2 similar comments
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington

Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.