Skip to content

Commit 5d36a95

Browse files
authored
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
1 parent 9ed36d5 commit 5d36a95

1 file changed

Lines changed: 92 additions & 72 deletions

File tree

0 commit comments

Comments
 (0)