From owner-freebsd-commit Mon Jun 26 09:05:14 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA20558 for commit-outgoing; Mon, 26 Jun 1995 09:05:14 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA20543 for cvs-lib-outgoing; Mon, 26 Jun 1995 09:05:06 -0700 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA20529 ; Mon, 26 Jun 1995 09:04:59 -0700 Date: Mon, 26 Jun 1995 09:04:59 -0700 From: Bill Paul Message-Id: <199506261604.JAA20529@freefall.cdrom.com> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: commit-owner@FreeBSD.org Precedence: bulk wpaul 95/06/26 09:04:59 Modified: lib/libc/gen getpwent.c Log: Do the same sanity checking in _pw_breakout_yp() that we do in _gr_breakout_yp(): if we encounter a NULL pointer generated as the result of a badly formatted NIS passwd entry (e.g. missing fields), we punt and return an error code, thereby silently skipping the bad entry.