diff options
author | cperciva <cperciva@FreeBSD.org> | 2014-10-22 23:35:32 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2014-10-22 23:35:32 +0000 |
commit | 93829a91a2930763d4aea7b590a8f449da280f1f (patch) | |
tree | b665821f944293cb6a4c9ac258ace0110113d0bb /contrib/netbsd-tests/lib/libc/sys/t_getgroups.c | |
parent | 8695c1d28501360804c552e66a05538569eca70a (diff) | |
download | FreeBSD-src-93829a91a2930763d4aea7b590a8f449da280f1f.zip FreeBSD-src-93829a91a2930763d4aea7b590a8f449da280f1f.tar.gz |
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.
Tested by: kmoore (VM memory dump + grep)
Tested by: cperciva (kernel panic dump + grep)
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_getgroups.c')
0 files changed, 0 insertions, 0 deletions