Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/24/2001 12:02:46
Module Name:	basesrc
Committed By:	jdolecek
Date:		Sat Mar 24 10:02:46 UTC 2001

Modified Files:
	basesrc/lib/libkvm: kvm_proc.c

Log Message:
kvm_doargv2(): make sure the string ends with '\0'; sysctl() might not
	properly end it if the data would be longer than the supplied
	buffer

This fixes lib/11467 by SAITOH Masanobu and lib/12389, maybe also
lib/12439.


To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 basesrc/lib/libkvm/kvm_proc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.