Skip to content

Segmentation fault if operating on a closed sniffer #90

Open
@dainok

Description

@dainok

Tested on:

  • Python 3.6.4
  • both Linux and MacOS (same behaviour)
  • pypcap 1.2.2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions