]> granicus.if.org Git - python/commit
Raise an error instead of crashing with a segfault when a NULL
authorThomas Heller <theller@ctypes.org>
Fri, 11 Jan 2008 19:34:06 +0000 (19:34 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 11 Jan 2008 19:34:06 +0000 (19:34 +0000)
commitc682614df098700c689eabb47c6857f244e85bed
treeacec3ccb7364b58a4319b70a6fb010fe60599abf
parentde680372027df420753d8a2806044f65a75a6e7e
Raise an error instead of crashing with a segfault when a NULL
function pointer is called.

Will backport to release25-maint.
Lib/ctypes/test/test_funcptr.py
Modules/_ctypes/_ctypes.c