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
rG671c492e884a: MFC 874b1a35486b570513680c3d456b062ba097e1d9:
Branches
Unknown
Tags
Unknown