I was getting a crash during module init of a cython module if a garbage
collection happens between a call to __Pyx_CyFunction_InitDefaults and the
code to populate the defaults.

The attached patch fixes the crash. This bug affects at least Cython 0.18
and 0.17.1.

__Pyx_CyFunction_InitDefaults was not completely zeroing the newly
allocated 'defaults' buffer.

Attachment: cython.patch
Description: Binary data

_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to