Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 1996 22:29:35 -0800 (PST)
From:      Warner Losh <imp>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/rwhod rwhod.c
Message-ID:  <199611010629.WAA22425@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

imp         96/10/31 22:29:35

  Modified:    usr.sbin/rwhod  rwhod.c
  Log:
  Fix minor buffer problems:
  	Off by one in verify allowed one to march one byte off the end of
  	wd.wd_hostname if wd.wd_hostname had no NUL characters in it.
  
  	strncpy of myname into mywd used the source buffer's length, rather
  	than the dest.
  
  Revision  Changes    Path
  1.6       +3 -2      src/usr.sbin/rwhod/rwhod.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611010629.WAA22425>