tcpdump mailing list archives

Re: patch for get_sa_len in libpcap-2003.09.10


From: Guy Harris <guy () alum mit edu>
Date: Thu, 11 Sep 2003 01:04:39 -0700

On Thu, Sep 11, 2003 at 07:28:08AM +0900, Jun-ichiro itojun Hagino wrote:
get_sa_len was getting called with a null pointer from here (in
pcap_findalldevs):

      tnx fixed.

I assume that was your change to have it get the length of the netmask
sockaddr by looking at the address sockaddr rather than the netmask
sockaddr.

The comment for that change is "sa_len for netmask is undefined"; does
that mean that even if the netmask address pointer *isn't* null, the
sa_len needs to be computed based on the address sockaddr?
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: