HomeFreeBSD

init: use explicit_bzero() for clearing passwords

Description

init: use explicit_bzero() for clearing passwords

This is a nop in practice, because it cannot be proven that this
particular bzero() is not significant. Make it explicit anyways, rather
than relying on an implementation detail of how the password is
collected.

Discussed with: Andrew Gierth <andrew tao146 riddles org uk>

(cherry picked from commit 852f70b24043885f0e438e8fecedd482a9a96d5e)

Details

Provenance
kevansAuthored on Mar 3 2021, 3:38 AM
Parents
rGf7488064d914: nfsv4 pnfs client: fix updating of the layout stateid.seqid
Branches
Unknown
Tags
Unknown