diff options
author | marcel <marcel@FreeBSD.org> | 1999-09-20 21:53:17 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-09-20 21:53:17 +0000 |
commit | 19d9a52e27c709bd147e2611544245ba9e36bfc4 (patch) | |
tree | 09a71cb4c66cf1b0b71c75df1d58a60285115990 /lib/libss/data.c | |
parent | 915efc6d1eda968beabc52d119e8be62e73aa2c0 (diff) | |
download | FreeBSD-src-19d9a52e27c709bd147e2611544245ba9e36bfc4.zip FreeBSD-src-19d9a52e27c709bd147e2611544245ba9e36bfc4.tar.gz |
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).
Diffstat (limited to 'lib/libss/data.c')
0 files changed, 0 insertions, 0 deletions