summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/sys/t_getgroups.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2014-10-22 23:35:32 +0000
committercperciva <cperciva@FreeBSD.org>2014-10-22 23:35:32 +0000
commit93829a91a2930763d4aea7b590a8f449da280f1f (patch)
treeb665821f944293cb6a4c9ac258ace0110113d0bb /contrib/netbsd-tests/lib/libc/sys/t_getgroups.c
parent8695c1d28501360804c552e66a05538569eca70a (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud