[fix] Handle error when opening an invalid pcap
Open a pcap that could not be read by libpcap or winpcap lead to dereferencing a nullptr.
@melanie.carriere PTAL
Open a pcap that could not be read by libpcap or winpcap lead to dereferencing a nullptr.
@melanie.carriere PTAL