kbandla / libdnet

Automatically exported from code.google.com/p/libdnet
Other
1 stars 0 forks source link

PyObject_AsReadBuffer api changes #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by BlueCore90 on 21 Oct 2014 at 6:57

Attachments:

GoogleCodeExporter commented 9 years ago
Seems to be a duplicate of https://code.google.com/p/libdnet/issues/detail?id=24

Sry.

Original comment by BlueCore90 on 21 Oct 2014 at 7:00