Invalid operation (segfault, sigbus, etc) whenionc.ionc_write
is given more arguments than expected.
#375
Labels
ionc.ionc_write
is given more arguments than expected.
#375
Identified in #372.
Issue
Looking at the code, it looks like the issue is the uninitialized PyObject pointers values at the top of
ionc_write
. In the event that the arguments are wrong, the function jumps down to the fail label, and pointers that are uninitialized getPy_DECREF
'd.. which is probably what is generating the random segfault, and bus errors.The text was updated successfully, but these errors were encountered: