cvs commit: src/sbin/ifconfig ifconfig.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Dec 31 17:47:58 PST 2006


sephe       2006/12/31 17:42:23 PST

DragonFly src repository

  Modified files:
    sbin/ifconfig        ifconfig.c 
  Log:
  Fix an off-by-one which could mean writing beyond the end of the array when
  putting '\0' to the end of the iface name.
  
  Obtained-From: FreeBSD(bz at freebsd.org) with modification
  
  Revision  Changes    Path
  1.29      +9 -5      src/sbin/ifconfig/ifconfig.c


http://www.dragonflybsd.org/cvsweb/src/sbin/ifconfig/ifconfig.c.diff?r1=1.28&r2=1.29&f=u





More information about the Commits mailing list