Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 1999 17:29:27 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        wollman@khavrinen.lcs.mit.edu (Garrett Wollman)
Cc:        freebsd-current@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: subtle SIOCGIFCONF bug
Message-ID:  <199906050029.RAA85352@bubba.whistle.com>
In-Reply-To: <199906050023.UAA12466@khavrinen.lcs.mit.edu> from Garrett Wollman at "Jun 4, 99 08:23:48 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman writes:
> >   Should the kernel insure that ifr->ifr_addr.sa_len is always at
> >   least sizeof(ifr->ifr_addr), or should the user programs adjust
> >   their pointer increment algorithm? At first I assumed the latter
> >   answer (patches below) but now am not so sure.
> 
> The user programs should not use SIOCGIFCONF.

I was hoping for a little more information than that.

OK, imagine a world where you had no choice. THEN what would the answer be?

In other words, I'd like to fix the problem but I don't have time to
rewrite arp, natd, route, etc.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906050029.RAA85352>