summaryrefslogtreecommitdiffstats
path: root/sbin/natd/natd.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-06-05 05:52:52 +0000
committerarchie <archie@FreeBSD.org>1999-06-05 05:52:52 +0000
commitd7f89ddca7bda593e462c757e7236f7be265b7ba (patch)
tree6941893c62312ff941940dd2dac20df842658773 /sbin/natd/natd.c
parent47e8c0df80372b7e332c2917c46155e79ace4a7f (diff)
downloadFreeBSD-src-d7f89ddca7bda593e462c757e7236f7be265b7ba.zip
FreeBSD-src-d7f89ddca7bda593e462c757e7236f7be265b7ba.tar.gz
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.
Diffstat (limited to 'sbin/natd/natd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud