HomeFreeBSD

MFC r335308: bsdconfig: Fix a bug when editing users

Description

MFC r335308: bsdconfig: Fix a bug when editing users

The usermgmt API was stomping on a global ($user_gid to be specific)
so things would appear to work fine until you tried to make a second
pass into the API with the now-tainted variable contents.

Fixed by localizing menu-specific contents as to not leak outside API.

PR: bin/208774
Reported by: Martin Waschbuesch <martin@waschbuesch.de>
Sponsored by: Smule, Inc.

Details

Provenance
dteskeAuthored on
Parents
rS335484: MFC r335280-r335281, r335302: sysrc.subr updates
Branches
Unknown
Tags
Unknown