From owner-freebsd-commit Fri Mar 24 13:21:52 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA20736 for commit-outgoing; Fri, 24 Mar 1995 13:21:52 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA20721 for cvs-lib-outgoing; Fri, 24 Mar 1995 13:21:41 -0800 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA20710; Fri, 24 Mar 1995 13:21:39 -0800 Date: Fri, 24 Mar 1995 13:21:39 -0800 From: Bill Paul Message-Id: <199503242121.NAA20710@freefall.cdrom.com> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/yp yplib.c Sender: commit-owner@FreeBSD.ORG Precedence: bulk wpaul 95/03/24 13:21:39 Modified: lib/libc/yp yplib.c Log: Add more sanity checks. *Lots* of sanity checks. Huge tracts of sanity checks. Make sure all arguments to the yp_*() functions are valid before sending them off to the server. This is somewhat distressing: once again my FreeBSD box brought down my entire network because of NIS bogosities. I *think* the poor argument checking in this module is the cause, but I still haven't been able to reproduce the exact series of events that lead to the ypserv crashes. For now I've resorted to sticking my FreeBSD box in a seprate domain. Hopefully a weekend of heavy testing will uncover the problem.