]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures in `Modules/_pickle.c` (#129787)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Thu, 20 Feb 2025 13:27:35 +0000 (14:27 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 13:27:35 +0000 (14:27 +0100)
commit5a13faa1b77b8f9a62b8935d2275e4a102ee88dd
tree3d68193ca7941d01c2f093102ad178e659db48cb
parentdeac31d214f8d562c9683471d42296ea16a3c641
gh-111178: fix UBSan failures in `Modules/_pickle.c` (#129787)

Fix UBSan failures for `Pdata`, `PicklerObject`, `UnpicklerObject`, `PicklerMemoProxyObject`, `UnpicklerMemoProxyObject`

Indicate safe fast cast to avoid redundant future checks

Use semantically correct parameter names
Modules/_pickle.c