Date: Thu, 26 Jul 2001 16:27:11 -0700 (PDT) From: Mike Barcroft <mike@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/chpass chpass.c edit.c pw_copy.c Message-ID: <200107262327.f6QNRBf11739@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mike 2001/07/26 16:27:11 PDT
Modified files:
usr.bin/chpass chpass.c edit.c pw_copy.c
Log:
Prevent chpass(1) from writing -1 in the UID or GID fields
in the password file by properly casting integers.
PR: 27757
Reviewed by: des
Approved by: des
MFC after: 4 days
Revision Changes Path
1.18 +3 -2 src/usr.bin/chpass/chpass.c
1.19 +8 -6 src/usr.bin/chpass/edit.c
1.10 +4 -2 src/usr.bin/chpass/pw_copy.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107262327.f6QNRBf11739>
