cvs commit: src/usr.sbin/raycontrol raycontrol.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Tue Jul 27 05:51:43 PDT 2004


joerg       2004/07/27 05:51:03 PDT

DragonFly src repository

  Modified files:
    usr.sbin/raycontrol  raycontrol.c 
  Log:
  - turn a strcpy into a strlcpy to avoid overflow
  - if the byte string is too long, use errx, not err
  - abort via call to usage(), if argument of 'W' doesn't contain ':'
  
  Obtained-from: FreeBSD
  
  Revision  Changes    Path
  1.4       +7 -5      src/usr.sbin/raycontrol/raycontrol.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/raycontrol/raycontrol.c.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list