diff options
author | Victor Stinner <vstinner@python.org> | 2019-10-10 21:30:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 21:30:20 +0200 |
commit | d565fb9828ee9c494bb7a80057a08e4738273e30 (patch) | |
tree | 93fda6393b2dd321afa6f928abd3c5b6a13c12fc /Python | |
parent | 1dbe5373851acb85ba91f0be7b83c69563acd68d (diff) | |
download | cpython-git-d565fb9828ee9c494bb7a80057a08e4738273e30.tar.gz |
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.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions