From owner-cvs-all Mon Sep 20 14:53:19 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C8DE715111; Mon, 20 Sep 1999 14:53:17 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA53588; Mon, 20 Sep 1999 14:53:17 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Message-Id: <199909202153.OAA53588@freefall.freebsd.org> From: Marcel Moolenaar Date: Mon, 20 Sep 1999 14:53:17 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_ktrace.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk marcel 1999/09/20 14:53:17 PDT Modified files: sys/kern kern_ktrace.c Log: When bcopying the program name into the ktrace header, make sure we include the terminating zero by copying MAXCOMLEN + 1 bytes. This fixes the garbage that occasionally appeared behind the programname when it is at least MAXCOMLEN bytes long (such as communicator-4.61-bin). Revision Changes Path 1.30 +5 -5 src/sys/kern/kern_ktrace.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message