Skip to content

Commit 21a10c5

Browse files
chrstphrchvzaisk
authored andcommitted
pythongh-111178: Avoid calling functions from incompatible pointer types in listobject.c (pythonGH-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 ff72d10 commit 21a10c5

File tree

1 file changed

+92
-72
lines changed

1 file changed

+92
-72
lines changed

0 commit comments

Comments
 (0)