]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures for `Modules/_testcapimodule.c` (#131614)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 24 Mar 2025 10:14:22 +0000 (11:14 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Mar 2025 10:14:22 +0000 (10:14 +0000)
commitaf29d5cfd19bf2656955b9bb782cc89c7aa7000f
tree876c76cd93eaf05bcae0f9622b64476c7b0a850b
parent491b8141f503743d88b69ff382a2be9eae4364e0
gh-111178: fix UBSan failures for `Modules/_testcapimodule.c` (#131614)

Fix UBSan failures for various classes in `Modules/_testcapimodule.c`,
remove some redundant casts and add some `Py_UNUSED()` usages.
Modules/_testcapimodule.c