aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Objects/stringlib/unicode_format.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-04-01 15:54:27 +0200
committerGitHub <noreply@github.com>2025-04-01 13:54:27 +0000
commit8cd29c2b533e5a1a262238695d05f2a7c44d6455 (patch)
treee11b69429655be7e1ecaa98a25eee3a67e7dd5b2 /Objects/stringlib/unicode_format.h
parent3b3720f1a26ab34377542b48eb6a6565f78ff892 (diff)
downloadcpython-8cd29c2b533e5a1a262238695d05f2a7c44d6455.tar.gz
cpython-8cd29c2b533e5a1a262238695d05f2a7c44d6455.zip
gh-111178: Fix getsockaddrarg() undefined behavior (#131668)
Don't pass direct references to sockaddr members since their type may not match PyArg_ParseTuple() types. Instead, use temporary 'int' and 'unsigned char' variables, and update sockaddr members afterwards. On FreeBSD, treat BTPROTO_HCI node name as a bytes string, not as an integer.
Diffstat (limited to 'Objects/stringlib/unicode_format.h')
0 files changed, 0 insertions, 0 deletions