]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-115322: fix ctypes call_function audit hook on 32-bit platforms (GH-132496)
authorGregory P. Smith <greg@krypto.org>
Mon, 14 Apr 2025 06:22:29 +0000 (23:22 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Apr 2025 06:22:29 +0000 (06:22 +0000)
commit7a29c9883f4cf61372895362e865f7d2f99bd4ca
tree63987b45b75d7e15aa5204a18858b4445166f3e3
parentf7b24ffefda839f367b048c06879df6bded128a1
GH-115322: fix ctypes call_function audit hook on 32-bit platforms (GH-132496)

* GH-115322: fix ctypes call_function audit hook on 32-bit platforms.

It was using a signed conversion to communicate the function id (pointer) value.
Lib/test/audit-tests.py
Misc/NEWS.d/next/Security/2024-02-18-02-53-25.gh-issue-115322.Um2Sjx.rst
Modules/_ctypes/callproc.c