HomeFreeBSD

adduser: Additional variable fixes.

Description

adduser: Additional variable fixes.

One function used _input without making it local, causing its value to
leak into other functions. This broke the -f case. Fix that instance
and initialize all local variables that weren't already initialized.

Fixes: 170d0882903e
MFC after: 3 days
Reviewed by: karels
Differential Revision: https://reviews.freebsd.org/D45204

Details

Provenance
desAuthored on May 15 2024, 12:13 PM
Reviewer
karels
Differential Revision
D45204: adduser: Additional variable fixes.
Parents
rG3b092e4936c4: ldns: Ignore commented-out lines in resolv.conf.
Branches
Unknown
Tags
Unknown