Date: Mon, 20 Sep 1999 14:53:17 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_ktrace.c Message-ID: <199909202153.OAA53588@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909202153.OAA53588>
