summaryrefslogtreecommitdiffstats
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
authorChristopher Chavez <chrischavez@gmx.us>2024-01-02 14:03:39 (GMT)
committerGitHub <noreply@github.com>2024-01-02 14:03:39 (GMT)
commitacf4cf5ca5ef62407e35609fb365e7dfaa362648 (patch)
treefc07e7a4a295dc448d88be1ec1e29fe6280f55c2 /Python/dynload_shlib.c
parent5d36a95e64e30606e8f8e332edf6bde91ac344cf (diff)
downloadcpython-acf4cf5ca5ef62407e35609fb365e7dfaa362648.zip
cpython-acf4cf5ca5ef62407e35609fb365e7dfaa362648.tar.gz
cpython-acf4cf5ca5ef62407e35609fb365e7dfaa362648.tar.bz2
gh-111178: Avoid calling functions from incompatible pointer types in descrobject.c (GH-112861)
Fix undefined behavior warnings (UBSan -fsanitize=function), for example: Python/generated_cases.c.h:3315:13: runtime error: call to function mappingproxy_dealloc through pointer to incorrect function type 'void (*)(struct _object *)' descrobject.c:1160: note: mappingproxy_dealloc defined here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Python/generated_cases.c.h:3315:13 in
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions