]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures in `Modules/_threadmodule.c` (GH-129794)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 24 Feb 2025 12:42:39 +0000 (13:42 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 12:42:39 +0000 (13:42 +0100)
commitf8eefc2f35c002b6702990add7f33d445977de8d
tree800d9b0e44b9fff54fd7dd37d159e020b9442249
parent73bbaf33ae1018f2f90480c4185717f3a49bf857
gh-111178: fix UBSan failures in `Modules/_threadmodule.c` (GH-129794)

Fix UBSan failures for `PyThreadHandleObject`, `lockobject`, `rlockobject`, `localdummyobject`, `localobject`

Add safe casts

Clean up module functions

Use semantically correct parameter names
Modules/_threadmodule.c