summaryrefslogtreecommitdiffstats
path: root/Python/ast_unparse.c
diff options
context:
space:
mode:
authorChristopher Chavez <chrischavez@gmx.us>2024-01-02 13:41:32 (GMT)
committerGitHub <noreply@github.com>2024-01-02 13:41:32 (GMT)
commit5d36a95e64e30606e8f8e332edf6bde91ac344cf (patch)
tree8c16b9cfe96ceeba86bcef7e1a03a23b1d4abc40 /Python/ast_unparse.c
parent9ed36d533ab8b256f0a589b5be6d7a2fdcf4aff2 (diff)
downloadcpython-5d36a95e64e30606e8f8e332edf6bde91ac344cf.zip
cpython-5d36a95e64e30606e8f8e332edf6bde91ac344cf.tar.gz
cpython-5d36a95e64e30606e8f8e332edf6bde91ac344cf.tar.bz2
gh-111178: Avoid calling functions from incompatible pointer types in listobject.c (GH-112820)
Fix undefined behavior warnings (UBSan -fsanitize=function), for example: Objects/object.c:674:11: runtime error: call to function list_repr through pointer to incorrect function type 'struct _object *(*)(struct _object *)' listobject.c:382: note: list_repr defined here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Objects/object.c:674:11 in
Diffstat (limited to 'Python/ast_unparse.c')
0 files changed, 0 insertions, 0 deletions