Module Name: src Committed By: maxv Date: Sun Feb 9 14:51:13 UTC 2014
Modified Files: src/sys/kern: kern_sysctl.c Log Message: Reorder code to avoid using an uninitialized variable: if sysctl_copyin fails, 'tmp' is not initialized. This bug is harmless since only the return value will be different; it does not expose kernel memory unless diagnostic is enabled. ok agc@ martin@ To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245 src/sys/kern/kern_sysctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.