Module Name:    src
Committed By:   pooka
Date:           Wed Jun 16 18:49:22 UTC 2010

Modified Files:
        src/sys/kern: init_sysctl.c

Log Message:
Set kinfo_lwp to 0 before filling it so that if someone removes
variable assignments from here, kernel memory does not leak to
userspace.

Bug found, a little bit suprisingly, by the atf ps test which failed
due to the column width between the -o holdcnt column being too
wide due to the contents displayed being garbage.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 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.

Reply via email to