svn commit: r273487 - head/sys/kern

Colin Percival cperciva at freebsd.org
Thu Oct 23 00:00:50 UTC 2014


On 10/22/14 16:35, Colin Percival wrote:
> Author: cperciva
> Date: Wed Oct 22 23:35:32 2014
> New Revision: 273487
> URL: https://svnweb.freebsd.org/changeset/base/273487
> 
> Log:
>   Avoid leaking data from the kernel environment: When we convert the
>   initial static environment to a dynamic one, zero the static environment
>   buffer, and zero individual values when kern_unsetenv and freeenv are
>   called.

Forgot to add, this will not be MFCed, since it would break KBI to zero
out the static environment when kernel modules could conceivably have
pointers into it.

Colin Percival


More information about the svn-src-head mailing list