Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 04/08/2004 03:35:10
Module Name: src
Committed By: atatat
Date: Thu Apr 8 03:35:10 UTC 2004
Modified Files:
src/sys/kern: init_sysctl.c
Log Message:
Clear out the struct kinfo_drivers before stuffing things into it.
Avoids leaking garbage from the stack (left over from the earlier
call to sysctl_locate()).
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/kern/init_sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.