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
rS335486: Add a note about using option VERBOSE_SYSINIT=0 to get the verbose code
Branches
Unknown
Tags
Unknown