From owner-cvs-all Wed Mar 14 12:51: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 27A7137B718; Wed, 14 Mar 2001 12:50:57 -0800 (PST) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2EKovl62761; Wed, 14 Mar 2001 12:50:57 -0800 (PST) (envelope-from brian) Message-Id: <200103142050.f2EKovl62761@freefall.freebsd.org> From: Brian Somers Date: Wed, 14 Mar 2001 12:50:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil realhostname.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/03/14 12:50:56 PST Modified files: lib/libutil realhostname.c Log: MAXHOSTNAMELEN includes space for the NUL Don't read past the end of the host passed to realhostname() Not objected to by: freebsd-audit Interface disliked by: imp Revision Changes Path 1.11 +5 -5 src/lib/libutil/realhostname.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message