cvs commit: src/sbin/ifconfig ifconfig.c ifconfig.h
    Kelly Yancey 
    kbyanc at posi.net
       
    Mon Feb  2 19:34:54 PST 2004
    
    
  
On Sat, 31 Jan 2004, Brooks Davis wrote:
> You are correct.  I forgot about that issue.  I'll commit this fix
> soon.  On the plus side, this won't actually happen with real interfaces
> because the minimum size of sdl_data is larger then is actually needed
> by any interface I've found so in practice you will hit a NUL after the
> address.
>
  I've never tried it, but in theory you could fill the sdl_data space with
source routing information on a token ring interface with a 6-character name.
One better, to the best of my knowledge, you can still corrupt the sdl_data
buffer in the same scenario with a 7-character interface name.  That has
nothing to do with your change, though.
  Kelly
--
Kelly Yancey  -  kbyanc@{posi.net,FreeBSD.org}  -  kelly at nttmcl.com
Visit the BSD driver database: http://www.posi.net/freebsd/drivers/
    
    
More information about the cvs-all
mailing list