Open dainok opened 5 years ago
Tested on:
Steps to reproduce:
import pcap a = pcap.pcap() a.close() a.close() Segmentation fault: 11
I think that pypcap should raise an exception, avoiding a segmentation fault.
Yes this seems like a bug. We should at least raise an exception and keep track of the opened state in python or ideally fix it in the underlying c code.
Tested on:
Steps to reproduce:
I think that pypcap should raise an exception, avoiding a segmentation fault.