HomeFreeBSD

Set the pw_class field to NULL when scanning the non-master passwd file.

Description

Set the pw_class field to NULL when scanning the non-master passwd file.
This avoids a null pointer deref in pw_dup(), which assumes that all
pointers are either NULL or valid.

Details

Provenance
ianAuthored on
Parents
rS336618: MFC r336498:
Branches
Unknown
Tags
Unknown