Menu

#6 PyObject_AsReadBuffer api changed leading to segfaults in ip_cksum_add

Unstable_(example)
open
nobody
None
5
2014-10-21
2014-10-21
Daniel
No

PyObject_AsReadBuffer api changed to use Py_ssize_t instead of int for length argument. ignoring this leads to segfaults, using the ip_cksum_add method. this patch fixes the python api use in dnet.pyx as well as replacing the 'type' argument names with 'type_' as the first is now prohibited in pyrex. a newly generated dnet.c is also included.

1 Attachments

Discussion


Log in to post a comment.