]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures in `Modules/_collectionsmodule.c` (#129773)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 17 Feb 2025 12:12:03 +0000 (13:12 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2025 12:12:03 +0000 (12:12 +0000)
commitf55d0b66be225e4a7fe6d8c50e8b49fd37b4ecc9
treec9f67f829a937f671330c1e3914532569bf52dbe
parent3d7a141c2f235b70dd6c2d64308022c4b77df131
gh-111178: fix UBSan failures in `Modules/_collectionsmodule.c` (#129773)

Fix some UBSan failures for `dequeobject`, `dequeiterobject`, `defdictobject` and `tuplegetterobject`.

We also perform some cleanup by suppressing unused return values and renaming the
unused argument in `METH_NOARGS` methods to `dummy` for semantic purposes.
Modules/_collectionsmodule.c