chanduusc / libdnet

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

dnet.ip_cksum_add crashes on OSX #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
execute the following in the python interpreter:

import dnet
data = 'E\x00\x00"\x00\x00\x00\x00@\x01\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08'
dnet.ip_cksum_add(data,0)

What is the expected output? What do you see instead?

Python returns to bash without any error or warning.

What version of the product are you using? On what operating system?

libdnet 1.12 on OSX 10.9.4 with python 2.7.5

Please provide any additional information below.

Original issue reported on code.google.com by bozzz...@gmail.com on 1 Sep 2014 at 1:58