From owner-cvs-all Fri Jun 4 22:55:10 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A20FB14C14; Fri, 4 Jun 1999 22:55:08 -0700 (PDT) (envelope-from archie@FreeBSD.org) Received: (from archie@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA21314; Fri, 4 Jun 1999 22:55:08 -0700 (PDT) (envelope-from archie@FreeBSD.org) Message-Id: <199906050555.WAA21314@freefall.freebsd.org> From: Archie Cobbs Date: Fri, 4 Jun 1999 22:55:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/route route.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk archie 1999/06/04 22:55:08 PDT Modified files: sbin/route route.c Log: When incrementing through a SIOCGIFCONF list, enforce a lower limit of sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism. Revision Changes Path 1.31 +3 -2 src/sbin/route/route.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message