From owner-cvs-usrsbin Thu Oct 31 22:29:40 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA22439 for cvs-usrsbin-outgoing; Thu, 31 Oct 1996 22:29:40 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA22425; Thu, 31 Oct 1996 22:29:35 -0800 (PST) Date: Thu, 31 Oct 1996 22:29:35 -0800 (PST) From: Warner Losh Message-Id: <199611010629.WAA22425@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rwhod rwhod.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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