]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: fix UBSan failures in `Modules/_dbmmodule.c` (#129775)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 10 Feb 2025 10:02:47 +0000 (11:02 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2025 10:02:47 +0000 (11:02 +0100)
commita1a6df282d732b54ba99de93416f8f9d85b3de2f
treec3a3d54e79ab16230805ada7c011a004d30b8976
parent978211c8a8646b050a8d687ca720f934fcce112c
gh-111178: fix UBSan failures in `Modules/_dbmmodule.c` (#129775)

This fixes UBSan failures for `dbmobject`.

In addition, we perform some minor cleanup changes such as renaming
some `args` parameter to `dummy` in some `METH_NOARGS` methods and
suppressing an unused return value in `_dbm_module_free`.
Modules/_dbmmodule.c