From owner-cvs-all Thu Jul 26 16:27:15 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2530737B407; Thu, 26 Jul 2001 16:27:11 -0700 (PDT) (envelope-from mike@FreeBSD.org) Received: (from mike@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6QNRBf11739; Thu, 26 Jul 2001 16:27:11 -0700 (PDT) (envelope-from mike) Message-Id: <200107262327.f6QNRBf11739@freefall.freebsd.org> From: Mike Barcroft Date: Thu, 26 Jul 2001 16:27:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/chpass chpass.c edit.c pw_copy.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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