tcpdump mailing list archives
SEGFAULT in pcap_findalldevs on OpenBSD 3.4
From: "Mark Pizzolato" <List-tcpdump-workers () subscriptions pizzolato net>
Date: Thu, 11 Mar 2004 13:37:06 -0800
pcap_findalldevs dies on OpenBSD 3.4 while interpreting some of the data returned by getifaddrs. Specifically, the flag value suggests that a Broadcast address is provided, but none is really returned. This problem does not exist on FreeBSD or NetBSD. The attached patch seems to safely fix the issue. - Mark Pizzolato
Attachment:
fad-getad.c-patch
Description:
Current thread:
- SEGFAULT in pcap_findalldevs on OpenBSD 3.4 Mark Pizzolato (Mar 11)
- Re: SEGFAULT in pcap_findalldevs on OpenBSD 3.4 Guy Harris (Mar 11)
- Re: SEGFAULT in pcap_findalldevs on OpenBSD 3.4 Mark Pizzolato (Mar 12)
- Re: SEGFAULT in pcap_findalldevs on OpenBSD 3.4 Guy Harris (Mar 11)