summaryrefslogtreecommitdiffstats
path: root/lib/libss/data.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-09-20 21:53:17 +0000
committermarcel <marcel@FreeBSD.org>1999-09-20 21:53:17 +0000
commit19d9a52e27c709bd147e2611544245ba9e36bfc4 (patch)
tree09a71cb4c66cf1b0b71c75df1d58a60285115990 /lib/libss/data.c
parent915efc6d1eda968beabc52d119e8be62e73aa2c0 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud