summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2025-01-21 10:50:13 (GMT)
committerGitHub <noreply@github.com>2025-01-21 10:50:13 (GMT)
commitfafc618e2f535dc972f9502d8547e089d4c7908d (patch)
tree8c89d4151654c6b7ec9cb8e0c689e9612bfc35e5 /Python/tracemalloc.c
parent36f341ca3ecd5f0d54073c6dbfa82b95d843cab8 (diff)
downloadcpython-fafc618e2f535dc972f9502d8547e089d4c7908d.zip
cpython-fafc618e2f535dc972f9502d8547e089d4c7908d.tar.gz
cpython-fafc618e2f535dc972f9502d8547e089d4c7908d.tar.bz2
gh-111178: fix UBSan failures in `Modules/_ctypes` (#129071)
This fixes UBSan failures for the following objects: - `DictRemoverObject` and `StructParamObject`, - `CDataObject` and `CFieldObject`, and - `PyCFuncPtrObject` and `PyCArgObject`. On the default build, we convert the `LOCK_PTR` and `UNLOCK_PTR` macros to functions with an unused parameter to ease "unused variable" compiler warnings suppression. Finally, we also remove some redundant casts to `PyObject *`.
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions