tcpdump mailing list archives
Re: pcap-bpf and AIX odm related code
From: Guy Harris <guy () alum mit edu>
Date: Mon, 12 Oct 2009 12:59:33 -0700
On Oct 12, 2009, at 12:28 AM, Jean-Louis Charton wrote:
However, I've got a little comment:in my fix proposal, in bpf_load() function Ipassed a dummy_err buffer instead oferrbuf to the 2 bpf_odmcleanup() calls.This was intentional to avoid squashing errbuf if for some reason bpf_odmcleanupalso fails.I wrote it that way because to my point of vue, errbuf is supposed to be set to the first encountered error not a potential error in some cleanup code.
I changed bpf_odmcleanup() so that, if it's passed a null pointer, it doesn't bother returning an error string, and passed it a null pointer in both those cases. That change has been checked in and pushed.
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Re: pcap-bpf and AIX odm related code, (continued)
- Re: pcap-bpf and AIX odm related code Jean-Louis Charton (Oct 09)
- Re: pcap-bpf and AIX odm related code Guy Harris (Oct 09)
- Re: pcap-bpf and AIX odm related code Michael Richardson (Oct 09)
- Re: pcap-bpf and AIX odm related code Guy Harris (Oct 09)
- Re: pcap-bpf and AIX odm related code Randal T. Rioux (Oct 14)
- libpcap-1.0.0 on AIX 6.1 Randal T. Rioux (Oct 19)
- Re: libpcap-1.0.0 on AIX 6.1 Guy Harris (Oct 20)
- Re: libpcap-1.0.0 on AIX 6.1 Randal T. Rioux (Oct 20)
- Re: pcap-bpf and AIX odm related code Guy Harris (Oct 09)
- Re: pcap-bpf and AIX odm related code Jean-Louis Charton (Oct 09)
- Re: pcap-bpf and AIX odm related code Jean-Louis Charton (Oct 12)
- Re: pcap-bpf and AIX odm related code Guy Harris (Oct 12)
- Re: pcap-bpf and AIX odm related code Jean-Louis Charton (Oct 13)