Date: Fri, 4 Jun 1999 22:55:08 -0700 (PDT) From: Archie Cobbs <archie@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/route route.c Message-ID: <199906050555.WAA21314@freefall.freebsd.org>
index | next in thread | raw e-mail
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 <wollman@khavrinen.lcs.mit.edu> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906050555.WAA21314>
