From owner-cvs-usrbin Fri Nov 15 09:37:40 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01942 for cvs-usrbin-outgoing; Fri, 15 Nov 1996 09:37:40 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01867; Fri, 15 Nov 1996 09:36:35 -0800 (PST) Date: Fri, 15 Nov 1996 09:36:35 -0800 (PST) From: Peter Wemm Message-Id: <199611151736.JAA01867@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass edit.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/11/15 09:36:25 Modified: usr.bin/chpass edit.c Log: pw_scan() was being used to convert a string into a struct passwd, with an auto stack variable that was about to disappear. It broke with some nis passwd changes because of a gethostbyname() call that uses a fair bit of stack.. This was a timebomb waiting to go off at any time and could have been causing subtle corruption for a while. AARGH!! This is HIGHLY reccomended for 2.2 and presumably 2.1.6 Revision Changes Path 1.9 +1 -1 src/usr.bin/chpass/edit.c