1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/usr.sbin/adduser
Dag-Erling Smørgrav 0a09b741a7 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:		170d088290
MFC after:	3 days
Reviewed by:	karels
Differential Revision:	https://reviews.freebsd.org/D45204

(cherry picked from commit 46a619c6d4)
(cherry picked from commit db5aefb1ca)

Approved by:	re (cperciva)
2024-05-15 20:47:24 +02:00
..
adduser.8 adduser(8): support creation of ZFS dataset 2024-04-29 12:14:16 +02:00
adduser.conf.5 adduser(8): support creation of ZFS dataset 2024-04-29 12:14:16 +02:00
adduser.sh adduser: Additional variable fixes. 2024-05-15 20:47:24 +02:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rmuser.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
rmuser.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00