]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r239257:
authorjh <jh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Oct 2012 09:47:54 +0000 (09:47 +0000)
committerjh <jh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Oct 2012 09:47:54 +0000 (09:47 +0000)
commitf65a393343a998f57a04755ba18c45646bf4c93c
tree8e03f0f646e0c27c9fd0231e9e5bc92d1349dff5
parentc220b8fe349c3505a93eacdc69d33e2243a01197
MFC r239257:

Reserve room for the terminating NUL when setting or getting kernel
environment variables. KENV_MNAMELEN and KENV_MVALLEN doesn't include
space for the terminating NUL.

git-svn-id: svn://svn.freebsd.org/base/stable/9@241222 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_environment.c