diff options
author | Christopher Chavez <chrischavez@gmx.us> | 2024-01-02 13:41:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 13:41:32 (GMT) |
commit | 5d36a95e64e30606e8f8e332edf6bde91ac344cf (patch) | |
tree | 8c16b9cfe96ceeba86bcef7e1a03a23b1d4abc40 /Python/ast_unparse.c | |
parent | 9ed36d533ab8b256f0a589b5be6d7a2fdcf4aff2 (diff) | |
download | cpython-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