commit | d565fb9828ee9c494bb7a80057a08e4738273e30 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Thu Oct 10 21:30:20 2019 +0200 |
committer | GitHub <noreply@github.com> | Thu Oct 10 21:30:20 2019 +0200 |
tree | 93fda6393b2dd321afa6f928abd3c5b6a13c12fc | |
parent | 1dbe5373851acb85ba91f0be7b83c69563acd68d [diff] |
bpo-38282: Rewrite getsockaddrarg() helper function (GH-16698) 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.